It is a customized dockable ToolStrip object; it owns all ToolStrip’s features.
User can drag a FlexToolStrip object and dock it at any place during run time. Can also hide items by clicking at “Add or Remove Buttons” button. The visibility of a FlexToolStrip object can be turned on/off.
§ Members
1) public long ID { get; set; }
Remarks
Every FlexToolStrip object should have a unique ID. If its value is between FlexConstants.m_nUserDefinedControlStartID and FlexConstants.m_nUserDefinedControlStartID, then its layout will be persistent; otherwise, its layout will not be saved.
2) public virtual FLEX_DOCKING_ALIGN FlexDock { get; set; }
Remarks
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. It can be one of the following values,
§ NONE:
The control is not docked.
§ TOP:
The control's top edge is docked to the top of its containing control.
§ BOTTOM:
The control's bottom edge is docked to the bottom of its containing control.
§ LEFT:
The control's left edge is docked to the left edge of its containing control.
§ RIGHT:
The control's right edge is docked to the right edge of its containing control.
§ Methods
1) public void ShowToolStrip()
Remarks
This make the FlexToolStrip object visible.
2) public virtual void HideToolStrip()
Remarks
This make the FlexToolStrip object invisible.
No comments:
Post a Comment