Class MiniToolBar
Inheritance
System.Object
MiniToolBar
Implements
System.Windows.Forms.IMessageFilter
Assembly: Syncfusion.Tools.Windows.dll
public class MiniToolBar : ToolStripDropDown, IThemeProvider, IVisualStyle, IMessageFilter
Constructors
Declaration
Properties
Gets or sets the control which is associated with MiniToolBar
Declaration
public Control AssociatedControl { get; set; }
Property Value
Type |
System.Windows.Forms.Control |
Gets or sets a value indicating whether a SkinManager theme style has been applied to the control.
Declaration
public bool CanApplyTheme { get; set; }
Property Value
Type |
Description |
System.Boolean |
The default value is true.
|
Gets or sets a value indicating whether control elements styles can be overridden by theme style settings.
Declaration
public bool CanOverrideStyle { get; set; }
Property Value
Type |
Description |
System.Boolean |
Default value is false.
|
Gets or sets the color scheme used for painting
Declaration
public ToolStripEx.ColorScheme ColorScheme { get; set; }
Property Value
Gets or sets a value indicating whether hides unused property of the base class
Declaration
public bool DropShadowEnabled { get; set; }
Property Value
Gets a value indicating whether the visual style based theme is applied to the control.
This also indicates whether the theme files are referred from external assemblies or not.
Declaration
public bool IsVisualStyleEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
Return true, if the visual style based theme is applied to control. Otherwise returns false.
|
Gets a cached instance of the control's layout engine.
Declaration
public override LayoutEngine LayoutEngine { get; }
Property Value
Type |
System.Windows.Forms.Layout.LayoutEngine |
Gets or sets the hides unused property of the base class
Declaration
public ToolStripLayoutStyle LayoutStyle { get; set; }
Property Value
Type |
System.Windows.Forms.ToolStripLayoutStyle |
Gets or sets the opacity of minitoolbar
Declaration
public double Opacity { get; set; }
Property Value
Gets or sets an advanced appearance for the MiniToolBar.
Declaration
public ToolStripExStyle Style { get; set; }
Property Value
Gets or sets the theme name of the MiniToolBar control.
Declaration
public string ThemeName { get; set; }
Property Value
Declaration
public ToolStripExStyleInfo ThemeStyle { get; set; }
Property Value
Methods
Declaration
public string GetActiveThemeName()
Returns
Retrieves the size of a rectangular area into which a control can be fitted.
Declaration
public override Size GetPreferredSize(Size proposedSize)
Parameters
Type |
Name |
Description |
System.Drawing.Size |
proposedSize |
Proposed Size
|
Returns
Type |
Description |
System.Drawing.Size |
Returns the size of a rectangular area into which a control can be fitted.
|
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Forms.LayoutEventArgs |
e |
|
Declaration
protected override void OnOpening(CancelEventArgs e)
Parameters
Type |
Name |
Description |
System.ComponentModel.CancelEventArgs |
e |
|
Declaration
protected override void OnRightToLeftChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnVisibleChanged(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
public void ShowMiniToolbarOnSelection(bool show)
Parameters
Type |
Name |
Description |
System.Boolean |
show |
|
Events
Declaration
public event ThemeChangedEventHandler ThemeNameChanged
Event Type
Explicit Interface Implementations
Gets or sets the VisualTheme of the MiniToolBar control.
Declaration
string IVisualStyle.VisualTheme { get; set; }
Returns
Gets or sets the BaseTheme name of the theme
Declaration
string IThemeProvider.BaseThemeName { get; set; }
Returns
Gets the name of the control.
Declaration
string IThemeProvider.ControlName { get; }
Returns
Implements
System.Windows.Forms.IMessageFilter