C# 클래스 WpfDataUi.IDataUiExtensionMethods

파일 보기 프로젝트 열기: vchelaru/FlatRedBall

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
AddContextMenuItem ( string text, RoutedEventHandler handler, System.Windows.Controls.ContextMenu contextMenu ) : System.Windows.Controls.MenuItem
GetIfValuesCanBeSetOnInstance ( IDataUi dataUi, ApplyValueResult &result, bool &hasErrorOccurred ) : void

메소드 상세

GetPropertyType() 공개 정적인 메소드

public static GetPropertyType ( string propertyName, Type instanceType ) : Type
propertyName string
instanceType System.Type
리턴 System.Type

GetPropertyType() 공개 정적인 메소드

public static GetPropertyType ( this dataUi ) : Type
dataUi this
리턴 System.Type

HasEnoughInformationToWork() 공개 정적인 메소드

public static HasEnoughInformationToWork ( this dataUi ) : bool
dataUi this
리턴 bool

RefreshContextMenu() 공개 정적인 메소드

public static RefreshContextMenu ( this dataUi, System.Windows.Controls.ContextMenu contextMenu ) : void
dataUi this
contextMenu System.Windows.Controls.ContextMenu
리턴 void

TryGetValueOnInstance() 공개 정적인 메소드

public static TryGetValueOnInstance ( this dataUi, object &value ) : bool
dataUi this
value object
리턴 bool

TrySetValueOnInstance() 공개 정적인 메소드

public static TrySetValueOnInstance ( this dataUi ) : ApplyValueResult
dataUi this
리턴 ApplyValueResult

TrySetValueOnInstance() 공개 정적인 메소드

public static TrySetValueOnInstance ( this dataUi, object valueToSet ) : ApplyValueResult
dataUi this
valueToSet object
리턴 ApplyValueResult