C# Класс JeffWilcox.Controls.Epitaph

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ShouldTombstoneProperty System.Windows.DependencyProperty
TombstoneIdProperty System.Windows.DependencyProperty
TombstonerProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
CalculateTombstoneId void
CleanupElementsToTombstone void
Epitaph System
Initialize void
OnShouldTombstoneChanged void
OnShouldTombstoneChanged void
OnTombstoneIdChanged void
OnTombstoneIdChanged void
OnTombstonerChanged void
OnTombstonerChanged void
Tombstone void
Untombstone void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

GetShouldTombstone() публичный статический Метод

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.
Результат bool

GetTombstoneId() публичный статический Метод

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.
Результат string

GetTombstoner() публичный статический Метод

Gets the tombstoner for the control.
public static GetTombstoner ( FrameworkElement obj ) : Epitaph
obj System.Windows.FrameworkElement The control being tombstoned.
Результат Epitaph

SetShouldTombstone() публичный статический Метод

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.
Результат void

SetTombstoneId() публичный статический Метод

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.
Результат void

SetTombstoner() публичный статический Метод

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.
Результат void

Описание свойств

ShouldTombstoneProperty публичное статическое свойство

Represents the ShouldTombstone attached dependency property.
public static DependencyProperty,System.Windows ShouldTombstoneProperty
Результат System.Windows.DependencyProperty

TombstoneIdProperty публичное статическое свойство

Represents the TombstoneId attached dependency property.
public static DependencyProperty,System.Windows TombstoneIdProperty
Результат System.Windows.DependencyProperty

TombstonerProperty публичное статическое свойство

Represents the Tombstoner attached dependency property.
public static DependencyProperty,System.Windows TombstonerProperty
Результат System.Windows.DependencyProperty