ymm4-plugin-document
読み取り中…
検索中…
一致する文字列を見つけられません
YukkuriMovieMaker.Commons.Bindable クラス

プロパティ変更通知をサポートする基底クラスです。 [詳解]

YukkuriMovieMaker.Commons.Bindable の継承関係図

公開メンバ関数

 Bindable ()
 Bindableクラスの新しいインスタンスを初期化します。

限定公開メンバ関数

virtual bool Set<[global::System.Runtime.CompilerServices.Nullable(2)] T > (ref T storage, T value, [global::System.Runtime.CompilerServices.CallerMemberName] string name="", params string[] etcChangedPropertyNames)
 プロパティ値を設定し、変更を通知します。
virtual bool Set<[global::System.Runtime.CompilerServices.Nullable(2)] T > (global::System.Linq.Expressions.Expression< global::System.Func< T > > propertySelector, T value, [global::System.Runtime.CompilerServices.CallerMemberName] string name="", params string[] etcChangedPropertyNames)
 プロパティ値を設定し、変更を通知します。
virtual T Get<[global::System.Runtime.CompilerServices.Nullable(2)] T > (global::System.Linq.Expressions.Expression< global::System.Func< T > > propertySelector)
 プロパティ値を取得します。
void OnPropertyChanging ([global::System.Runtime.CompilerServices.CallerMemberName] string name="")
 PropertyChangingイベントを発生させます。
void OnPropertyChanged ([global::System.Runtime.CompilerServices.CallerMemberName] string name="")
 PropertyChangedイベントを発生させます。

イベント

global::System.ComponentModel.PropertyChangingEventHandler PropertyChanging [add, remove]
 プロパティ値が変更される直前に発生します。
global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged [add, remove]
 プロパティ値が変更された後に発生します。

詳解

プロパティ変更通知をサポートする基底クラスです。

このクラスを継承することで、プロパティの変更をビューに通知するためのINotifyPropertyChangedおよびINotifyPropertyChangingインターフェースを実装します。

構築子と解体子

◆ Bindable()

YukkuriMovieMaker.Commons.Bindable.Bindable ( )

Bindableクラスの新しいインスタンスを初期化します。

メソッド詳解

◆ Get<[global::System.Runtime.CompilerServices.Nullable(2)] T >()

virtual T YukkuriMovieMaker.Commons.Bindable.Get<[global.System.Runtime.CompilerServices.Nullable(2)] T > ( global.System.Linq.Expressions.Expression< global.System.Func< T > > propertySelector)
protectedvirtual

プロパティ値を取得します。

テンプレート引数
Tプロパティの型
引数
propertySelectorプロパティを指定する式
戻り値
プロパティの値

◆ OnPropertyChanged()

void YukkuriMovieMaker.Commons.Bindable.OnPropertyChanged ( [global::System::Runtime::CompilerServices::CallerMemberName] string name = "")
protected

PropertyChangedイベントを発生させます。

引数
name変更されたプロパティの名前

◆ OnPropertyChanging()

void YukkuriMovieMaker.Commons.Bindable.OnPropertyChanging ( [global::System::Runtime::CompilerServices::CallerMemberName] string name = "")
protected

PropertyChangingイベントを発生させます。

引数
name変更されるプロパティの名前

◆ Set<[global::System.Runtime.CompilerServices.Nullable(2)] T >() [1/2]

virtual bool YukkuriMovieMaker.Commons.Bindable.Set<[global.System.Runtime.CompilerServices.Nullable(2)] T > ( global.System.Linq.Expressions.Expression< global.System.Func< T > > propertySelector,
T value,
[global::System::Runtime::CompilerServices::CallerMemberName] string name = "",
params string[] etcChangedPropertyNames )
protectedvirtual

プロパティ値を設定し、変更を通知します。

テンプレート引数
Tプロパティの型
引数
propertySelectorプロパティを指定する式
value新しい値
nameプロパティ名
etcChangedPropertyNames追加で変更通知を行うプロパティ名
戻り値
値が変更された場合は<c>true、そうでない場合は<c>false
例外
global::System.ArgumentExceptionプロパティ名が指定されていない場合にスローされます。

◆ Set<[global::System.Runtime.CompilerServices.Nullable(2)] T >() [2/2]

virtual bool YukkuriMovieMaker.Commons.Bindable.Set<[global.System.Runtime.CompilerServices.Nullable(2)] T > ( ref T storage,
T value,
[global::System::Runtime::CompilerServices::CallerMemberName] string name = "",
params string[] etcChangedPropertyNames )
protectedvirtual

プロパティ値を設定し、変更を通知します。

テンプレート引数
Tプロパティの型
引数
storage値を格納するフィールド
value新しい値
nameプロパティ名
etcChangedPropertyNames追加で変更通知を行うプロパティ名
戻り値
値が変更された場合は<c>true、そうでない場合は<c>false
例外
global::System.ArgumentExceptionプロパティ名が指定されていない場合にスローされます。

イベント詳解

◆ PropertyChanged

System ComponentModel global.PropertyChangedEventHandler YukkuriMovieMaker.Commons.Bindable.PropertyChanged
addremove

プロパティ値が変更された後に発生します。

◆ PropertyChanging

System ComponentModel global.PropertyChangingEventHandler YukkuriMovieMaker.Commons.Bindable.PropertyChanging
addremove

プロパティ値が変更される直前に発生します。


このクラス詳解は次のファイルから抽出されました:
  • YukkuriMovieMaker.Plugin/YukkuriMovieMaker/Commons/Bindable.cs