TextCell.Command Property
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.
Gets or sets the ICommand to be executed when the TextCell is tapped. This is a bindable property.
public:
property System::Windows::Input::ICommand ^ Command { System::Windows::Input::ICommand ^ get(); void set(System::Windows::Input::ICommand ^ value); };
public System.Windows.Input.ICommand Command { get; set; }
member this.Command : System.Windows.Input.ICommand with get, set
Public Property Command As ICommand
Setting the Command property has a side effect of changing the Enabled property depending on ICommand.CanExecute.
Product | Versions |
---|---|
.NET MAUI | 8, 9 |
.NET MAUI feedback
.NET MAUI is an open source project. Select a link to provide feedback: