MaxCustomControls::MaxToolStripState Class Reference


Detailed Description

This class record the location and status of a toolstrip in its parent panel.

The location of a toolstrip in its parent panel cannot be precisely saved and loaded. If you save the location of a toolstrip and load it from your customized file, the location of the toolbar may not be the same location that you stored in your file. According to msdn forum, this is "as designed"! For that reason, I just save and load the visibility property of toolbars. To save and load other properties such as location and floating status, we should upgrade our program to XtraBar and XtraBarManager.

List of all members.

Public Member Functions

String  ToString (String separator)
  Convert MaxToolStripState to a string.

Static Public Member Functions

static MaxToolStripState  TryParse (String value, char[] separator)
  Load MaxToolStripState from a string.

Properties

bool  Visible [get, set]
  The visible property of ToolStrip.

Member Function Documentation

String MaxCustomControls::MaxToolStripState::ToString ( String  separator ) [inline]

Convert MaxToolStripState to a string.

Returns:
The state string.
static MaxToolStripState MaxCustomControls::MaxToolStripState::TryParse ( String  value,
char[]  separator 
) [inline, static]

Load MaxToolStripState from a string.

Parameters:
value String value of MaxToolStripState.
separator Chars used to separate the sub-strings.
Returns:
The MaxToolStripState object created from the state string.

Property Documentation

bool MaxCustomControls::MaxToolStripState::Visible [get, set]

The visible property of ToolStrip.


MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState
MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState MaxCustomControls::MaxToolStripState