PlaceholderCommand 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.
Provides a framework implementation of a command that cannot be executed.
public abstract class PlaceholderCommand : IDisposable, Microsoft.IDisposableObservable, Microsoft.VisualStudio.Extensibility.Commands.ICommand, System.ComponentModel.INotifyPropertyChanged
type PlaceholderCommand = class
interface ICommand
interface INotifyPropertyChanged
interface IDisposableObservable
interface IDisposable
Public MustInherit Class PlaceholderCommand
Implements ICommand, IDisposable, IDisposableObservable, INotifyPropertyChanged
- Inheritance
-
PlaceholderCommand
- Derived
- Implements
Constructors
PlaceholderCommand(String) |
Initializes a new instance of the PlaceholderCommand class. |
Properties
DisplayName |
Gets the display name for the command, or |
Flags |
Gets the flags associated with the command. |
Id |
Gets a unique id for this command within its command set. |
IsDisposed | Gets a value indicating whether this instance has been disposed. |
IsVisible |
Gets a value indicating whether this command is visible or invisible. |
TooltipText |
Gets the tooltip text for the command, or the display name if no tooltip text was provided. |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Dispose(Boolean) |
Disposes the command instance. |
InitializeAsync(CancellationToken) |
Completes async initialization of command instance. |
OnPropertyChanged(PropertyChangedEventArgs) |
Fires PropertyChanged event. |
SetVisibilityState(Nullable<Boolean>) |
Set this command as visible, invisible, or |
Events
PropertyChanged | Occurs when a property value changes. |