Skip to main content

NavigatorButtonBase Members

Serves as a base for the NavigatorButton class.

Constructors

Name Description
NavigatorButtonBase(Int32, Boolean, Boolean, String, Object) Initializes a new instance of the NavigatorButtonBase class.

Properties

Name Description
ButtonType Gets the button’s type.
Command Gets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked.
CommandParameter Gets or sets the parameter that is passed to the command specified by the Command property.
Enabled Gets or sets whether the button is enabled and an end-user can perform actions on it.
Hint Gets or sets the button’s hint.
ImageIndex Gets or sets the index of the image to display within the button.
ImageList Gets the source of images to be displayed within the navigation buttons.
IsAutoRepeatSupported Indicates whether data records are scrolled repeatedly when the button is held down.
Tag Gets or sets the data associated with the button.
Visible Gets or sets whether the button is visible.

Methods

Name Description
BindCommand(Expression<Action>, Object, Func<Object>) Uses the command selector to find an appropriate parameterized command in the source and bind it to this navigator button.
BindCommand(Object, Func<Object>) Binds the specific parameterized command to this navigator button.
BindCommand<T>(Expression<Action<T>>, Object, Func<T>) Uses the command selector to find an appropriate parameterized command of the target type in the source and bind it to this navigator button.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Click Occurs when a user clicks this navigator button.
CommandCanExecuteChanged Occurs when the CanExecute(Object) status of the Command has changed.
CommandChanged Occurs after the value of the Command property has changed.
CommandParameterChanged Occurs after the value of the CommandParameter property has changed.
See Also