更新 : 2007 年 11 月
プロパティに設定されている既定値を取得します。
名前空間 : Microsoft.Windows.Design.PropertyEditing
アセンブリ : Microsoft.Windows.Design (Microsoft.Windows.Design.dll 内)
構文
'宣言
Public Shared ReadOnly Property DefaultValue As DependencyPropertyValueSource
'使用
Dim value As DependencyPropertyValueSource
value = DependencyPropertyValueSource.DefaultValue
public static DependencyPropertyValueSource DefaultValue { get; }
public:
static property DependencyPropertyValueSource^ DefaultValue {
DependencyPropertyValueSource^ get ();
}
public static function get DefaultValue () : DependencyPropertyValueSource
プロパティ値
型 : Microsoft.Windows.Design.PropertyEditing.DependencyPropertyValueSource
既定値の DependencyPropertyValueSource。
解説
このプロパティは、XAML に値が設定されていない場合、またはその親から値を継承しない場合、既定値を返します。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
DependencyPropertyValueSource クラス
DependencyPropertyValueSource メンバ
Microsoft.Windows.Design.PropertyEditing 名前空間