C# Class WpfDataUi.IDataUiExtensionMethods

Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode Description
GetPropertyType ( string propertyName, Type instanceType ) : Type
GetPropertyType ( this dataUi ) : Type
HasEnoughInformationToWork ( this dataUi ) : bool
RefreshContextMenu ( this dataUi, System.Windows.Controls.ContextMenu contextMenu ) : void
TryGetValueOnInstance ( this dataUi, object &value ) : bool
TrySetValueOnInstance ( this dataUi ) : ApplyValueResult
TrySetValueOnInstance ( this dataUi, object valueToSet ) : ApplyValueResult

Private Methods

Méthode Description
AddContextMenuItem ( string text, RoutedEventHandler handler, System.Windows.Controls.ContextMenu contextMenu ) : System.Windows.Controls.MenuItem
GetIfValuesCanBeSetOnInstance ( IDataUi dataUi, ApplyValueResult &result, bool &hasErrorOccurred ) : void

Method Details

GetPropertyType() public static méthode

public static GetPropertyType ( string propertyName, Type instanceType ) : Type
propertyName string
instanceType System.Type
Résultat System.Type

GetPropertyType() public static méthode

public static GetPropertyType ( this dataUi ) : Type
dataUi this
Résultat System.Type

HasEnoughInformationToWork() public static méthode

public static HasEnoughInformationToWork ( this dataUi ) : bool
dataUi this
Résultat bool

RefreshContextMenu() public static méthode

public static RefreshContextMenu ( this dataUi, System.Windows.Controls.ContextMenu contextMenu ) : void
dataUi this
contextMenu System.Windows.Controls.ContextMenu
Résultat void

TryGetValueOnInstance() public static méthode

public static TryGetValueOnInstance ( this dataUi, object &value ) : bool
dataUi this
value object
Résultat bool

TrySetValueOnInstance() public static méthode

public static TrySetValueOnInstance ( this dataUi ) : ApplyValueResult
dataUi this
Résultat ApplyValueResult

TrySetValueOnInstance() public static méthode

public static TrySetValueOnInstance ( this dataUi, object valueToSet ) : ApplyValueResult
dataUi this
valueToSet object
Résultat ApplyValueResult