ContextItemCollectionOptions.Assign(ContextItemCollectionOptions) Method
Assigns a ContextItemCollection‘s settings to a different ContextItemCollection‘s options.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
options | ContextItemCollectionOptions | Options to assign. |
Remarks
Use this method if you need to assign a ContextItemCollection‘s settings to a different ContextItemCollection‘s options.
using DevExpress.Utils;
// ...
pictureEdit2.Properties.ContextButtonOptions.Assign(pictureEdit1.Properties.ContextButtonOptions);
Note that the target ContextItemCollection needs to contain at least one ContextItem for assigned ContextItemCollectionOptions to take effect.
See Also