C# Class OpenSyno.Helpers.ViewModelResolver

显示文件 Open project: salfab/open-syno

Public Properties

Property Type Description
ViewModelTypeProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetViewModelType ( DependencyObject obj ) : string
SetViewModelType ( DependencyObject obj, string value ) : void
ValidatedByAParentConstraint ( IRequest arg, string bindingName ) : bool

Private Methods

Method Description
ViewModelTypeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetViewModelType() public static method

public static GetViewModelType ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

SetViewModelType() public static method

public static SetViewModelType ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

ValidatedByAParentConstraint() public static method

public static ValidatedByAParentConstraint ( IRequest arg, string bindingName ) : bool
arg IRequest
bindingName string
return bool

Property Details

ViewModelTypeProperty public_oe static_oe property

public static DependencyProperty,System.Windows ViewModelTypeProperty
return System.Windows.DependencyProperty