Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the command that is associated with this ribbon gallery.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property Command As ICommand
public ICommand Command { get; set; }
public:
virtual property ICommand^ Command {
ICommand^ get () sealed;
void set (ICommand^ value) sealed;
}
abstract Command : ICommand with get, set
override Command : ICommand with get, set
final function get Command () : ICommand
final function set Command (value : ICommand)
Property Value
Type: System.Windows.Input.ICommand
The command that is associated with this ribbon gallery. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.
Implements
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Controls.Ribbon Namespace