C# Class JeffWilcox.Controls.Epitaph

Afficher le fichier Open project: jeffwilcox/thejeffwilcox Class Usage Examples

Méthodes publiques

Свойство Type Description
ShouldTombstoneProperty System.Windows.DependencyProperty
TombstoneIdProperty System.Windows.DependencyProperty
TombstonerProperty System.Windows.DependencyProperty

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat bool

GetTombstoneId() public static méthode

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.
Résultat string

GetTombstoner() public static méthode

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

SetShouldTombstone() public static méthode

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.
Résultat void

SetTombstoneId() public static méthode

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.
Résultat void

SetTombstoner() public static méthode

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.
Résultat void

Property Details

ShouldTombstoneProperty public_oe static_oe property

Represents the ShouldTombstone attached dependency property.
public static DependencyProperty,System.Windows ShouldTombstoneProperty
Résultat System.Windows.DependencyProperty

TombstoneIdProperty public_oe static_oe property

Represents the TombstoneId attached dependency property.
public static DependencyProperty,System.Windows TombstoneIdProperty
Résultat System.Windows.DependencyProperty

TombstonerProperty public_oe static_oe property

Represents the Tombstoner attached dependency property.
public static DependencyProperty,System.Windows TombstonerProperty
Résultat System.Windows.DependencyProperty