バージョン

ResetSelectedHolidayAppearance メソッド

SelectedHolidayAppearance プロパティをデフォルト値にリセットします。
シンタックス
'宣言
 
Public Sub ResetSelectedHolidayAppearance() 
public void ResetSelectedHolidayAppearance()
解説

このメソッドを使用すると、SelectedHolidayAppearance プロパティがリセットされます。SelectedHolidayAppearance プロパティが Appearances コレクションから Appearance に設定された場合、コレクションの Infragistics.Win.AppearanceBase オブジェクトのプロパティ は同じで変更されませんが、SelectedHolidayAppearance プロパティはその Infragistics.Win.AppearanceBase にこれ以上付加されません。関連付けられた Appearance オブジェクトのプロパティをリセットするためには、Appearance オブジェクト自体の Infragistics.Win.Appearance.Reset メソッドが代わりに呼び出される必要があります。

使用例
' Each settable property on an Infragistics control or sub-object has an
' associated ResetXXX method (where XXX is the property name)
' that resets the property to its default value.
If Me.myControl.ShouldSerializeFooProp() = True Then
      Me.myControl.ResetFooProp()
End If

If Me.myControl.SubObject.ShouldSerializeBarProp() = True Then
      Me.myControl.SubObject.ResetBarProp()
End If

' Each Infragistics control and sub-object that has a settable property
' also has a Reset method that resets all settable properties to their
' default values.
Me.myControl.Reset()
Me.myControl.SubObject.Reset()
// Each settable property on an Infragistics control or sub-object has an
// associated ResetXXX method (where XXX is the property name)
// that resets the property to its default value.
if (this.myControl.ShouldSerializeFooProp())
      this.myControl.ResetFooProp();
 
if (this.myControl.SubObject.ShouldSerializeBarProp())
      this.myControl.SubObject.ResetBarProp();

// Each Infragistics control and sub-object that has a settable property
// also has a Reset method that resets all settable properties to their
// default values.
this.myControl.Reset();
this.myControl.SubObject.Reset();
参照

参照

UltraCalendarLook クラス
UltraCalendarLook メンバ
SelectedHolidayAppearance プロパティ
Infragistics.Win.AppearanceBase
Infragistics.Win.AppearanceBase.Reset