C# Class Signum.Windows.EntityBase

Inheritance: LineBase
Show file Open project: signumsoftware/framework

Public Properties

Property Type Description
CreateCommand System.Windows.Input.RoutedCommand
CreateProperty System.Windows.DependencyProperty
EntityProperty System.Windows.DependencyProperty
EntityTemplateProperty System.Windows.DependencyProperty
EntityTemplateSelectorProperty System.Windows.DependencyProperty
FindCommand System.Windows.Input.RoutedCommand
FindProperty System.Windows.DependencyProperty
ImplementationsProperty System.Windows.DependencyProperty
NavigateProperty System.Windows.DependencyProperty
ReadonlyEntityProperty System.Windows.DependencyProperty
RemoveCommand System.Windows.Input.RoutedCommand
RemoveProperty System.Windows.DependencyProperty
ViewCommand System.Windows.Input.RoutedCommand
ViewOnCreateProperty System.Windows.DependencyProperty
ViewProperty System.Windows.DependencyProperty

Protected Properties

Property Type Description
isUserInteraction bool
safeImplementations Implementations?

Public Methods

Method Description
GetEntityPropertyRoute ( ) : PropertyRoute
OnLoad ( object sender, RoutedEventArgs e ) : void
SelectType ( bool>.Func filterType ) : Type

Protected Methods

Method Description
CanCreate ( ) : bool
CanFind ( ) : bool
CanRemove ( ) : bool
CanViewOrNavigate ( ) : bool
CanViewOrNavigate ( object entity ) : bool
OnCreate ( ) : object
OnEntityChanged ( object oldValue, object newValue ) : void
OnFinding ( ) : object
OnRemoving ( object entity ) : bool
OnViewingOrNavigating ( object entity, bool creating ) : object
SetEntityUserInteraction ( object entity ) : void
UpdateVisibility ( ) : void
_CanNavigate ( object entity ) : bool
_CanView ( object entity ) : bool
_OnNavigating ( object entity ) : void
btCreate_Click ( object sender, RoutedEventArgs e ) : void
btFind_Click ( object sender, RoutedEventArgs e ) : void
btRemove_Click ( object sender, RoutedEventArgs e ) : void
btView_Click ( object sender, RoutedEventArgs e ) : void

Private Methods

Method Description
EntityBase ( ) : System
IsReadOnlyChanged ( object sender, EventArgs e ) : void
SetType ( Type type ) : void
_OnViewing ( object entity, bool creating ) : object

Method Details

CanCreate() protected method

protected CanCreate ( ) : bool
return bool

CanFind() protected method

protected CanFind ( ) : bool
return bool

CanRemove() protected method

protected CanRemove ( ) : bool
return bool

CanViewOrNavigate() protected method

protected CanViewOrNavigate ( ) : bool
return bool

CanViewOrNavigate() protected method

protected CanViewOrNavigate ( object entity ) : bool
entity object
return bool

GetEntityPropertyRoute() public method

public GetEntityPropertyRoute ( ) : PropertyRoute
return PropertyRoute

OnCreate() protected method

protected OnCreate ( ) : object
return object

OnEntityChanged() protected method

protected OnEntityChanged ( object oldValue, object newValue ) : void
oldValue object
newValue object
return void

OnFinding() protected method

protected OnFinding ( ) : object
return object

OnLoad() public method

public OnLoad ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

OnRemoving() protected method

protected OnRemoving ( object entity ) : bool
entity object
return bool

OnViewingOrNavigating() protected method

protected OnViewingOrNavigating ( object entity, bool creating ) : object
entity object
creating bool
return object

SelectType() public method

public SelectType ( bool>.Func filterType ) : Type
filterType bool>.Func
return System.Type

SetEntityUserInteraction() protected method

protected SetEntityUserInteraction ( object entity ) : void
entity object
return void

UpdateVisibility() protected method

protected UpdateVisibility ( ) : void
return void

_CanNavigate() protected method

protected _CanNavigate ( object entity ) : bool
entity object
return bool

_CanView() protected method

protected _CanView ( object entity ) : bool
entity object
return bool

_OnNavigating() protected method

protected _OnNavigating ( object entity ) : void
entity object
return void

btCreate_Click() protected method

protected btCreate_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

btFind_Click() protected method

protected btFind_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

btRemove_Click() protected method

protected btRemove_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

btView_Click() protected method

protected btView_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

Property Details

CreateCommand public static property

public static RoutedCommand,System.Windows.Input CreateCommand
return System.Windows.Input.RoutedCommand

CreateProperty public static property

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

EntityProperty public static property

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

EntityTemplateProperty public static property

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

EntityTemplateSelectorProperty public static property

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

FindCommand public static property

public static RoutedCommand,System.Windows.Input FindCommand
return System.Windows.Input.RoutedCommand

FindProperty public static property

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

ImplementationsProperty public static property

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

NavigateProperty public static property

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

ReadonlyEntityProperty public static property

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

RemoveCommand public static property

public static RoutedCommand,System.Windows.Input RemoveCommand
return System.Windows.Input.RoutedCommand

RemoveProperty public static property

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

ViewCommand public static property

public static RoutedCommand,System.Windows.Input ViewCommand
return System.Windows.Input.RoutedCommand

ViewOnCreateProperty public static property

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

ViewProperty public static property

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

isUserInteraction protected property

protected bool isUserInteraction
return bool

safeImplementations protected property

protected Implementations? safeImplementations
return Implementations?