Class RoutedCommands
Provides functionality for binding System.Windows.UIElement.CommandBindings and basic routed commands.
Inheritance
Namespace: Sartorius.SAF.Presentation
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public static class RoutedCommands
Fields
View SourceCommandBindingsProperty
Identifies the Sartorius.SAF.Presentation.AboutDialogRoutedCommands.CommandBindings attached property.
Declaration
public static readonly DependencyProperty CommandBindingsProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
OpenUriCommand
Represents a command that indicates the intention of opening a System.Uri. The System.Uri is provided as command parameter.
Declaration
public static readonly RoutedCommand OpenUriCommand
Field Value
Type | Description |
---|---|
System.Windows.Input.RoutedCommand |
Methods
View SourceGetCommandBindings(DependencyObject)
Gets the value of the Sartorius.SAF.Presentation.AboutDialogRoutedCommands.CommandBindings attached property from a given System.Windows.DependencyObject.
Declaration
public static CommandBindingCollection GetCommandBindings(DependencyObject element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element from which to read the property value. |
Returns
Type | Description |
---|---|
System.Windows.Input.CommandBindingCollection | The value of the Sartorius.SAF.Presentation.AboutDialogRoutedCommands.CommandBindings attached property. |
SetCommandBindings(DependencyObject, CommandBindingCollection)
Sets the value of the Sartorius.SAF.Presentation.AboutDialogRoutedCommands.CommandBindings attached property to a given System.Windows.DependencyObject.
Declaration
public static void SetCommandBindings(DependencyObject element, CommandBindingCollection value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element on which to set the attached property. |
System.Windows.Input.CommandBindingCollection | value | The property value to set. |
Remarks
This is a proxy for System.Windows.UIElement.CommandBindings that allows binding the command bindings.