C# Class Signum.Windows.Common

Datei anzeigen Open project: signumsoftware/framework Class Usage Examples

Public Properties

Property Type Description
AutoHideProperty System.Windows.DependencyProperty
AutomationItemStatusFromDataContextProperty System.Windows.DependencyProperty
ChangeDataContextEvent System.Windows.RoutedEvent
CollapseIfNullProperty System.Windows.DependencyProperty
IsReadOnlyProperty System.Windows.DependencyProperty
LabelOnlyRouteProperty System.Windows.DependencyProperty
LabelPropertySelector Polymorphic
LabelVisibleProperty System.Windows.DependencyProperty
MinLabelWidthProperty System.Windows.DependencyProperty
OrderProperty System.Windows.DependencyProperty
PropertyRouteProperty System.Windows.DependencyProperty
RouteProperty System.Windows.DependencyProperty
TypeContextProperty System.Windows.DependencyProperty
TypePropertySelector Polymorphic
ValuePropertySelector Polymorphic

Public Methods

Method Description
AddChangeDataContextHandler ( DependencyObject d, ChangeDataContextHandler handler ) : void
AutoHidePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
GetAutoHide ( DependencyObject obj ) : AutoHide
GetAutomationItemStatusFromDataContext ( DependencyObject obj ) : bool
GetCollapseIfNull ( DependencyObject obj ) : bool
GetEntityStringAndHashCode ( object newValue ) : string
GetIsReadOnly ( DependencyObject obj ) : bool
GetLabelOnlyRoute ( this obj ) : string
GetLabelVisible ( DependencyObject obj ) : bool
GetMinLabelWidth ( DependencyObject obj ) : double
GetOrder ( DependencyObject obj ) : double
GetPropertyRoute ( DependencyObject obj ) : PropertyRoute
GetRoute ( this obj ) : string
GetTypeContext ( DependencyObject obj ) : Type
OverrideCursor ( System cursor ) : IDisposable
RefreshAutoHide ( FrameworkElement content ) : void
RemoveChangeDataContextHandler ( DependencyObject d, ChangeDataContextHandler handler ) : void
RoutePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetAutoHide ( DependencyObject obj, AutoHide value ) : void
SetAutomationItemStatusFromDataContext ( DependencyObject obj, bool value ) : void
SetCollapseIfNull ( DependencyObject obj, bool value ) : void
SetIsReadOnly ( DependencyObject obj, bool value ) : void
SetLabelOnlyRoute ( this obj, string value ) : void
SetLabelVisible ( DependencyObject obj, bool value ) : void
SetMinLabelWidth ( DependencyObject obj, double value ) : void
SetOrder ( DependencyObject obj, double value ) : void
SetPropertyRoute ( DependencyObject obj, PropertyRoute value ) : void
SetRoute ( this obj, string value ) : void
SetTypeContext ( DependencyObject obj, Type value ) : void
TaskDataGridColumnSetLabelText ( System.Windows.Controls.DataGridColumn col, string route, PropertyRoute context ) : void
TaskDataGridColumnSetValueProperty ( System.Windows.Controls.DataGridColumn col, string route, PropertyRoute context ) : void
TaskGridViewColumnSetLabelText ( System.Windows.Controls.GridViewColumn col, string route, PropertyRoute context ) : void
TaskGridViewColumnSetValueProperty ( System.Windows.Controls.GridViewColumn col, string route, PropertyRoute context ) : void
TaskSetImplementations ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetIsReadonly ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetLabelText ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetMove ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetTypeProperty ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetValueProperty ( FrameworkElement fe, string route, PropertyRoute context ) : void
VoteCollapsed ( FrameworkElement fe ) : void
VoteVisible ( FrameworkElement fe ) : void

Private Methods

Method Description
Common ( ) : System
Common_DataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Common_Loaded ( object sender, RoutedEventArgs e ) : void
DataGrid_Initialized ( object sender, EventArgs e ) : void
GetConverter ( PropertyRoute context ) : IValueConverter
GetEntityString ( object newValue ) : string
InititializeRoute ( FrameworkElement fe, string route, DependencyProperty property ) : void
ListView_Initialized ( object sender, EventArgs e ) : void
OnSetTypeContext ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
RegisterUpdater ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
TaskDataGridColumnSetReadOnly ( System.Windows.Controls.DataGridColumn column, string route, PropertyRoute context ) : void
TaskSetAutomationName ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetCollaspeIfNull ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetFormatText ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetMaxLenth ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetNotNullItemsSource ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetNullValueEntityCombo ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetUnitText ( FrameworkElement fe, string route, PropertyRoute context ) : void
TaskSetVoteAutoHide ( FrameworkElement fe, string route, PropertyRoute context ) : void

Method Details

AddChangeDataContextHandler() public static method

public static AddChangeDataContextHandler ( DependencyObject d, ChangeDataContextHandler handler ) : void
d System.Windows.DependencyObject
handler ChangeDataContextHandler
return void

AutoHidePropertyChanged() public static method

public static AutoHidePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

GetAutoHide() public static method

public static GetAutoHide ( DependencyObject obj ) : AutoHide
obj System.Windows.DependencyObject
return AutoHide

GetAutomationItemStatusFromDataContext() public static method

public static GetAutomationItemStatusFromDataContext ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetCollapseIfNull() public static method

public static GetCollapseIfNull ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetEntityStringAndHashCode() public static method

public static GetEntityStringAndHashCode ( object newValue ) : string
newValue object
return string

GetIsReadOnly() public static method

public static GetIsReadOnly ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetLabelOnlyRoute() public static method

public static GetLabelOnlyRoute ( this obj ) : string
obj this
return string

GetLabelVisible() public static method

public static GetLabelVisible ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetMinLabelWidth() public static method

public static GetMinLabelWidth ( DependencyObject obj ) : double
obj System.Windows.DependencyObject
return double

GetOrder() public static method

public static GetOrder ( DependencyObject obj ) : double
obj System.Windows.DependencyObject
return double

GetPropertyRoute() public static method

public static GetPropertyRoute ( DependencyObject obj ) : PropertyRoute
obj System.Windows.DependencyObject
return PropertyRoute

GetRoute() public static method

public static GetRoute ( this obj ) : string
obj this
return string

GetTypeContext() public static method

public static GetTypeContext ( DependencyObject obj ) : Type
obj System.Windows.DependencyObject
return System.Type

OverrideCursor() public static method

public static OverrideCursor ( System cursor ) : IDisposable
cursor System
return IDisposable

RefreshAutoHide() public static method

public static RefreshAutoHide ( FrameworkElement content ) : void
content System.Windows.FrameworkElement
return void

RemoveChangeDataContextHandler() public static method

public static RemoveChangeDataContextHandler ( DependencyObject d, ChangeDataContextHandler handler ) : void
d System.Windows.DependencyObject
handler ChangeDataContextHandler
return void

RoutePropertyChanged() public static method

public static RoutePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

SetAutoHide() public static method

public static SetAutoHide ( DependencyObject obj, AutoHide value ) : void
obj System.Windows.DependencyObject
value AutoHide
return void

SetAutomationItemStatusFromDataContext() public static method

public static SetAutomationItemStatusFromDataContext ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetCollapseIfNull() public static method

public static SetCollapseIfNull ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetIsReadOnly() public static method

public static SetIsReadOnly ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetLabelOnlyRoute() public static method

public static SetLabelOnlyRoute ( this obj, string value ) : void
obj this
value string
return void

SetLabelVisible() public static method

public static SetLabelVisible ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetMinLabelWidth() public static method

public static SetMinLabelWidth ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject
value double
return void

SetOrder() public static method

public static SetOrder ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject
value double
return void

SetPropertyRoute() public static method

public static SetPropertyRoute ( DependencyObject obj, PropertyRoute value ) : void
obj System.Windows.DependencyObject
value PropertyRoute
return void

SetRoute() public static method

public static SetRoute ( this obj, string value ) : void
obj this
value string
return void

SetTypeContext() public static method

public static SetTypeContext ( DependencyObject obj, Type value ) : void
obj System.Windows.DependencyObject
value System.Type
return void

TaskDataGridColumnSetLabelText() public static method

public static TaskDataGridColumnSetLabelText ( System.Windows.Controls.DataGridColumn col, string route, PropertyRoute context ) : void
col System.Windows.Controls.DataGridColumn
route string
context PropertyRoute
return void

TaskDataGridColumnSetValueProperty() public static method

public static TaskDataGridColumnSetValueProperty ( System.Windows.Controls.DataGridColumn col, string route, PropertyRoute context ) : void
col System.Windows.Controls.DataGridColumn
route string
context PropertyRoute
return void

TaskGridViewColumnSetLabelText() public static method

public static TaskGridViewColumnSetLabelText ( System.Windows.Controls.GridViewColumn col, string route, PropertyRoute context ) : void
col System.Windows.Controls.GridViewColumn
route string
context PropertyRoute
return void

TaskGridViewColumnSetValueProperty() public static method

public static TaskGridViewColumnSetValueProperty ( System.Windows.Controls.GridViewColumn col, string route, PropertyRoute context ) : void
col System.Windows.Controls.GridViewColumn
route string
context PropertyRoute
return void

TaskSetImplementations() public static method

public static TaskSetImplementations ( FrameworkElement fe, string route, PropertyRoute context ) : void
fe System.Windows.FrameworkElement
route string
context PropertyRoute
return void

TaskSetIsReadonly() public static method

public static TaskSetIsReadonly ( FrameworkElement fe, string route, PropertyRoute context ) : void
fe System.Windows.FrameworkElement
route string
context PropertyRoute
return void

TaskSetLabelText() public static method

public static TaskSetLabelText ( FrameworkElement fe, string route, PropertyRoute context ) : void
fe System.Windows.FrameworkElement
route string
context PropertyRoute
return void

TaskSetMove() public static method

public static TaskSetMove ( FrameworkElement fe, string route, PropertyRoute context ) : void
fe System.Windows.FrameworkElement
route string
context PropertyRoute
return void

TaskSetTypeProperty() public static method

public static TaskSetTypeProperty ( FrameworkElement fe, string route, PropertyRoute context ) : void
fe System.Windows.FrameworkElement
route string
context PropertyRoute
return void

TaskSetValueProperty() public static method

public static TaskSetValueProperty ( FrameworkElement fe, string route, PropertyRoute context ) : void
fe System.Windows.FrameworkElement
route string
context PropertyRoute
return void

VoteCollapsed() public static method

public static VoteCollapsed ( FrameworkElement fe ) : void
fe System.Windows.FrameworkElement
return void

VoteVisible() public static method

public static VoteVisible ( FrameworkElement fe ) : void
fe System.Windows.FrameworkElement
return void

Property Details

AutoHideProperty public_oe static_oe property

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

AutomationItemStatusFromDataContextProperty public_oe static_oe property

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

ChangeDataContextEvent public_oe static_oe property

public static RoutedEvent,System.Windows ChangeDataContextEvent
return System.Windows.RoutedEvent

CollapseIfNullProperty public_oe static_oe property

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

IsReadOnlyProperty public_oe static_oe property

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

LabelOnlyRouteProperty public_oe static_oe property

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

LabelPropertySelector public_oe static_oe property

public static Polymorphic LabelPropertySelector
return Polymorphic

LabelVisibleProperty public_oe static_oe property

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

MinLabelWidthProperty public_oe static_oe property

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

OrderProperty public_oe static_oe property

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

PropertyRouteProperty public_oe static_oe property

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

RouteProperty public_oe static_oe property

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

TypeContextProperty public_oe static_oe property

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

TypePropertySelector public_oe static_oe property

public static Polymorphic TypePropertySelector
return Polymorphic

ValuePropertySelector public_oe static_oe property

public static Polymorphic ValuePropertySelector
return Polymorphic