'Declaration Public Property ToolPanel As ToolPanelButton
public ToolPanelButton ToolPanel {get; set;}
'Declaration Public Property ToolPanel As ToolPanelButton
public ToolPanelButton ToolPanel {get; set;}
Use the ToolPanelButton enumeration to configure the available tools. This can enhance the user interface by simplifying the tool panel based on the context of the task being performed.
// To hide specific items from the tool panel, use the ToolPanel property. // The following code removes the zoom slider from the tool panel: designer.ToolPanel = ToolPanelButton.All ^ ToolPanelButton.ZoomSlider; // To remove multiple items, such as Dimension Lines, Grid Mode, Snap Grid, Snap Lines, and Mouse Mode, you can combine them like this: designer.ToolPanel = ToolPanelButton.All ^ ToolPanelButton.DimensionLines ^ ToolPanelButton.GridMode;