XamlUICommand Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XamlUICommand : DependencyObject, ICommand
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class XamlUICommand : DependencyObject, ICommand
Public Class XamlUICommand
Inherits DependencyObject
Implements ICommand
- Inheritance
- Derived
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| XamlUICommand() | |
Properties
| Name | Description |
|---|---|
| AccessKey | |
| AccessKeyProperty | |
| Command | |
| CommandProperty | |
| Description | |
| DescriptionProperty | |
| Dispatcher | (Inherited from DependencyObject) |
| DispatcherQueue | (Inherited from DependencyObject) |
| IconSource | |
| IconSourceProperty | |
| KeyboardAccelerators | |
| KeyboardAcceleratorsProperty | |
| Label | |
| LabelProperty | |
Methods
| Name | Description |
|---|---|
| CanExecute(Object) | |
| ClearValue(DependencyProperty) | (Inherited from DependencyObject) |
| Execute(Object) | |
| GetAnimationBaseValue(DependencyProperty) | (Inherited from DependencyObject) |
| GetValue(DependencyProperty) | (Inherited from DependencyObject) |
| NotifyCanExecuteChanged() | |
| ReadLocalValue(DependencyProperty) | (Inherited from DependencyObject) |
| RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) | (Inherited from DependencyObject) |
| SetValue(DependencyProperty, Object) | (Inherited from DependencyObject) |
| UnregisterPropertyChangedCallback(DependencyProperty, Int64) | (Inherited from DependencyObject) |
Events
| Name | Description |
|---|---|
| CanExecuteChanged | |
| CanExecuteRequested | |
| ExecuteRequested | |