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.
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. |
String MaxCustomControls::MaxToolStripState::ToString | ( | String | separator | ) | [inline] |
Convert MaxToolStripState to a string.
static MaxToolStripState MaxCustomControls::MaxToolStripState::TryParse | ( | String | value, |
char[] | separator | ||
) | [inline, static] |
Load MaxToolStripState from a string.
value | String value of MaxToolStripState. |
separator | Chars used to separate the sub-strings. |
bool
MaxCustomControls::MaxToolStripState::Visible [get,
set] |
The visible property of ToolStrip.