C# Class JeffWilcox.Controls.Epitaph

Mostrar archivo Open project: jeffwilcox/thejeffwilcox Class Usage Examples

Public Properties

Property Type Description
ShouldTombstoneProperty System.Windows.DependencyProperty
TombstoneIdProperty System.Windows.DependencyProperty
TombstonerProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
CalculateTombstoneId void
CleanupElementsToTombstone void
Epitaph System
Initialize void
OnShouldTombstoneChanged void
OnShouldTombstoneChanged void
OnTombstoneIdChanged void
OnTombstoneIdChanged void
OnTombstonerChanged void
OnTombstonerChanged void
Tombstone void
Untombstone void

Public Methods

Method Description
GetShouldTombstone ( FrameworkElement obj ) : bool

Gets the whether the tombstoner should store values for the control. Can be bound so conditionalize this within templates upon whether a TombstoneId has been set.

GetTombstoneId ( FrameworkElement obj ) : string

Gets the tombstone id. This value must be set on any control that will be tombstoned, and should be unique within the scope of any visual parent that also has a TombstoneId, or else within a Page.

GetTombstoner ( FrameworkElement obj ) : Epitaph

Gets the tombstoner for the control.

SetShouldTombstone ( FrameworkElement obj, bool value ) : void

Sets the whether the tombstoner should store values for the control. Can be bound so conditionalize this within templates upon whether a TombstoneId has been set.

SetTombstoneId ( FrameworkElement obj, string value ) : void

Gets the tombstone id. This value must be set on any control that will be tombstoned, and should be unique within the scope of any visual parent that also has a TombstoneId, or else within a Page.

SetTombstoner ( FrameworkElement obj, Epitaph value ) : void

Sets the tombstoner for the control.

Private Methods

Method Description
CalculateTombstoneId ( ) : void
CleanupElementsToTombstone ( ) : void
Epitaph ( ) : System
Initialize ( ) : void
OnShouldTombstoneChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnShouldTombstoneChanged ( FrameworkElement obj, bool oldValue, bool newValue ) : void
OnTombstoneIdChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnTombstoneIdChanged ( FrameworkElement obj, string oldValue, string newValue ) : void
OnTombstonerChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnTombstonerChanged ( FrameworkElement obj, Epitaph oldValue, Epitaph newValue ) : void
Tombstone ( ) : void
Untombstone ( ) : void

Method Details

GetShouldTombstone() public static method

Gets the whether the tombstoner should store values for the control. Can be bound so conditionalize this within templates upon whether a TombstoneId has been set.
public static GetShouldTombstone ( FrameworkElement obj ) : bool
obj System.Windows.FrameworkElement The object to tombstone.
return bool

GetTombstoneId() public static method

Gets the tombstone id. This value must be set on any control that will be tombstoned, and should be unique within the scope of any visual parent that also has a TombstoneId, or else within a Page.
public static GetTombstoneId ( FrameworkElement obj ) : string
obj System.Windows.FrameworkElement The object to tombstone.
return string

GetTombstoner() public static method

Gets the tombstoner for the control.
public static GetTombstoner ( FrameworkElement obj ) : Epitaph
obj System.Windows.FrameworkElement The control being tombstoned.
return Epitaph

SetShouldTombstone() public static method

Sets the whether the tombstoner should store values for the control. Can be bound so conditionalize this within templates upon whether a TombstoneId has been set.
public static SetShouldTombstone ( FrameworkElement obj, bool value ) : void
obj System.Windows.FrameworkElement The object to tombstone.
value bool if set to true, the object will be tombstoned.
return void

SetTombstoneId() public static method

Gets the tombstone id. This value must be set on any control that will be tombstoned, and should be unique within the scope of any visual parent that also has a TombstoneId, or else within a Page.
public static SetTombstoneId ( FrameworkElement obj, string value ) : void
obj System.Windows.FrameworkElement The object to tombstone.
value string The tombstone id to assign to the control.
return void

SetTombstoner() public static method

Sets the tombstoner for the control.
public static SetTombstoner ( FrameworkElement obj, Epitaph value ) : void
obj System.Windows.FrameworkElement The control being tombstoned.
value Epitaph The tombstoner for the control.
return void

Property Details

ShouldTombstoneProperty public_oe static_oe property

Represents the ShouldTombstone attached dependency property.
public static DependencyProperty,System.Windows ShouldTombstoneProperty
return System.Windows.DependencyProperty

TombstoneIdProperty public_oe static_oe property

Represents the TombstoneId attached dependency property.
public static DependencyProperty,System.Windows TombstoneIdProperty
return System.Windows.DependencyProperty

TombstonerProperty public_oe static_oe property

Represents the Tombstoner attached dependency property.
public static DependencyProperty,System.Windows TombstonerProperty
return System.Windows.DependencyProperty