EditorButton.Assign(EditorButton) Method
In This Article
Copies all properties of the specified button to the current EditorButton object.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public virtual void Assign(
EditorButton source
)
#Parameters
Name | Type | Description |
---|---|---|
source | Editor |
The source Editor |
#Remarks
The Assign method copies all properties of the specified button to the current EditorButton object. The method allows you to have several buttons with the same property values (caption, image, kind, width, shortcut, etc.).
Note: if several buttons are assigned the same shortcut, then pressing those keys invokes the ButtonClick event for all of these buttons in turn.
See Also