Class GroupBarItem
Represents an item in the GroupBar control.
Inheritance
System.Object
GroupBarItem
Implements
System.ComponentModel.ICustomTypeDescriptor
Assembly: Syncfusion.Shared.Base.dll
public class GroupBarItem : Component, ICustomTypeDescriptor
Constructors
Declaration
Fields
Declaration
protected bool bBackColorSet
Field Value
Declaration
protected bool bBorderColorsSet
Field Value
Declaration
protected BorderColors bdrColors
Field Value
Declaration
Field Value
Declaration
Field Value
Declaration
protected bool bInNavigationPane
Field Value
Declaration
protected Brush brBackground
Field Value
Type |
System.Drawing.Brush |
Declaration
Field Value
Declaration
protected Color clrForeGround
Field Value
Type |
System.Drawing.Color |
ftText
Declaration
Field Value
Declaration
protected GroupBar groupBarCtrl
Field Value
Declaration
Field Value
Declaration
protected Image iItemImage
Field Value
Type |
System.Drawing.Image |
Declaration
protected bool imageYchanged
Field Value
Declaration
protected Icon iNavPaneIcon
Field Value
Declaration
Field Value
szText
Declaration
Field Value
textDraw
Declaration
Field Value
Declaration
protected Control wndClient
Field Value
Type |
System.Windows.Forms.Control |
Properties
Gets / sets the color used to fill the GroupBarItem background.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
A System.Drawing.Color value.
|
Gets / sets the brush used for painting the GroupBarItem background.
Declaration
public Brush BackgroundBrush { get; set; }
Property Value
Type |
Description |
System.Drawing.Brush |
A System.Drawing.Brush value.
|
Gets / sets the client control associated with the GroupBarItem.
Declaration
public Control Client { get; set; }
Property Value
Type |
Description |
System.Windows.Forms.Control |
A System.Windows.Forms.Control instance.
|
Gets / sets the colors used to draw the borders around the GroupBarItem's client
control.
Declaration
public BorderColors ClientBorderColors { get; set; }
Property Value
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
False if the item is disabled. The default is True.
|
Gets / sets the font used for drawing the GroupBarItem text.
Declaration
public Font Font { get; set; }
Property Value
Type |
Description |
System.Drawing.Font |
A System.Drawing.Font value.
|
Gets / sets the foreground color used to paint the text in the GroupBarItem.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
A System.Drawing.Color value.
|
Returns the GroupBar control that the item is assigned to.
Declaration
public GroupBar GroupBar { get; }
Property Value
Declaration
public Icon Icon { get; set; }
Property Value
Type |
Description |
System.Drawing.Icon |
An System.Drawing.Icon value.
|
Declaration
public Image Image { get; set; }
Property Value
Type |
Description |
System.Drawing.Image |
An System.Drawing.Icon value.
|
Declaration
protected bool InDesignMode { get; }
Property Value
Indicates whether the GroupBarItem should be added to the navigation pane.
Declaration
public bool InNavigationPane { get; set; }
Property Value
Type |
Description |
System.Boolean |
TRUE if the item should be added to the navigation pane. The default is FALSE.
|
IsTextVisible
Declaration
public bool IsTextVisible { get; set; }
Property Value
Indicates whether all types of images can be used or not
Declaration
public bool LargeImageMode { get; set; }
Property Value
Gets / sets the icon representing the GroupBarItem in the navigation pane.
Declaration
public Icon NavigationPaneIcon { get; set; }
Property Value
Type |
Description |
System.Drawing.Icon |
An System.Drawing.Icon value.
|
Gets / sets image representing the item in the GroupBar's navigation pane.
Declaration
public Image NavigationPaneImage { get; set; }
Property Value
Type |
System.Drawing.Image |
Declaration
public int Padding { get; set; }
Property Value
Gets / sets the object that contains data about the GroupBarItem.
Declaration
public object Tag { get; set; }
Property Value
Type |
Description |
System.Object |
A System.Object value that contains data about the control.
The default is a NULL reference (Nothing in Visual Basic).
|
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
A String value.
|
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
False if the item is hidden. The default is True.
|
Declaration
public bool YChanged { get; set; }
Property Value
Methods
Overridden. See System.ComponentModel.Component.Dispose(System.Boolean).
Declaration
protected override void Dispose(bool bdispose)
Parameters
Type |
Name |
Description |
System.Boolean |
bdispose |
|
Declaration
protected void GroupBar_BackColorChanged(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Declaration
protected void GroupBar_FontChanged(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Declaration
protected void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.ComponentModel.PropertyChangedEventArgs |
args |
|
Resets the BackColor property to its default value.
Declaration
public void ResetBackColor()
Declaration
public void ResetClientBorderColors()
Resets the Font property to its default value.
Declaration
Resets the ForeColor property to its default value.
Declaration
public void ResetForeColor()
Declaration
protected void SetGroupBarControlReference(GroupBar ctrl)
Parameters
Declaration
protected bool ShouldSerializeBackColor()
Returns
Declaration
protected bool ShouldSerializeClientBorderColors()
Returns
Declaration
protected bool ShouldSerializeFont()
Returns
Declaration
protected bool ShouldSerializeForeColor()
Returns
Declaration
public bool ShouldSerializePadding()
Returns
Events
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.ICustomTypeDescriptor