Class RoutedCommands
Provides functionality for binding CommandBindings and basic routed commands.
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 |
|---|---|
| DependencyProperty |
OpenUriCommand
Represents a command that indicates the intention of opening a Uri. The Uri is provided as command parameter.
Declaration
public static readonly RoutedCommand OpenUriCommand
Field Value
| Type | Description |
|---|---|
| RoutedCommand |
Methods
View SourceGetCommandBindings(DependencyObject)
Gets the value of the Sartorius.SAF.Presentation.AboutDialogRoutedCommands.CommandBindings attached property from a given DependencyObject.
Declaration
public static CommandBindingCollection GetCommandBindings(DependencyObject element)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element from which to read the property value. |
Returns
| Type | Description |
|---|---|
| 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 DependencyObject.
Declaration
public static void SetCommandBindings(DependencyObject element, CommandBindingCollection value)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element on which to set the attached property. |
| CommandBindingCollection | value | The property value to set. |
Remarks
This is a proxy for CommandBindings that allows binding the command bindings.