C# Class Com.Aote.Attachs.Data

给数据对象附加
Show file Open project: DuBin1988/restv2

Public Properties

Property Type Description
ContextProperty System.Windows.DependencyProperty
EmptyRowTypeProperty System.Windows.DependencyProperty
ItemsProperty System.Windows.DependencyProperty
PropProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetContext ( FrameworkElement ui ) : CustomTypeHelper
GetEmptyRowType ( DependencyObject d ) : string
GetItems ( FrameworkElement ui ) : BaseObjectList
GetProp ( FrameworkElement ui ) : PropertySetter
SetContext ( FrameworkElement ui, CustomTypeHelper value ) : void
SetEmptyRowType ( DependencyObject d, string value ) : void
SetItems ( FrameworkElement ui, BaseObjectList value ) : void
SetProp ( FrameworkElement ui, PropertySetter value ) : void

Private Methods

Method Description
Context_Loaded ( object sender, RoutedEventArgs e ) : void
Items_Loaded ( object sender, RoutedEventArgs e ) : void
OnContextChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnEmptyRowTypeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemSourceChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemsChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
UIDataContextChanged ( FrameworkElement ui ) : void
ui_Loaded ( object sender, RoutedEventArgs e ) : void

Method Details

GetContext() public static method

public static GetContext ( FrameworkElement ui ) : CustomTypeHelper
ui System.Windows.FrameworkElement
return Com.Aote.ObjectTools.CustomTypeHelper

GetEmptyRowType() public static method

public static GetEmptyRowType ( DependencyObject d ) : string
d System.Windows.DependencyObject
return string

GetItems() public static method

public static GetItems ( FrameworkElement ui ) : BaseObjectList
ui System.Windows.FrameworkElement
return BaseObjectList

GetProp() public static method

public static GetProp ( FrameworkElement ui ) : PropertySetter
ui System.Windows.FrameworkElement
return PropertySetter

SetContext() public static method

public static SetContext ( FrameworkElement ui, CustomTypeHelper value ) : void
ui System.Windows.FrameworkElement
value Com.Aote.ObjectTools.CustomTypeHelper
return void

SetEmptyRowType() public static method

public static SetEmptyRowType ( DependencyObject d, string value ) : void
d System.Windows.DependencyObject
value string
return void

SetItems() public static method

public static SetItems ( FrameworkElement ui, BaseObjectList value ) : void
ui System.Windows.FrameworkElement
value BaseObjectList
return void

SetProp() public static method

public static SetProp ( FrameworkElement ui, PropertySetter value ) : void
ui System.Windows.FrameworkElement
value PropertySetter
return void

Property Details

ContextProperty public static property

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

EmptyRowTypeProperty public static property

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

ItemsProperty public static property

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

PropProperty public static property

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