Click or drag to resize

GTPUMasterDialogCancelItemEnabled Property

Gets or sets a value indicating whether the control will have an Cancel item in the command bar.

Namespace:  ABB.Robotics.Tps.Windows.Forms
Assembly:  ABB.Robotics.GTPU.Windows.Forms (in ABB.Robotics.GTPU.Windows.Forms.dll) Version: 6.5.129.0
Syntax
C#
protected bool CancelItemEnabled { get; set; }

Property Value

Type: Boolean
true if the control will have a Cancel item; otherwise false. the default value is false.
Remarks
The Cancel Item will be shown if this property is set to true and the Menu property is not null. The Cancel item is located in the right side of the command bar following the GTPU guidelines. The text of the Cancel item could be set by the property CancelItem. The default text is Ok and its localized. In order to be notified whenever the Cancel item is pressed, inheritors must override the method ActionItem_Click(Object, EventArgs).
See Also