' Please use the following namespace
' Imports System.Windows.Forms;
' Imports GrapeCity.Win.Editors;
Public Sub SetStatusBarAndTipSettings()
' Creates the GcMaskedComboBox control.
Dim gcMaskedComboBox1 As New GcMaskedComboBox()
' Sets the string format to "Column0:Column1" of the StatusBar.Text as well as the ToolTip text of each list item.
gcMaskedComboBox1.ListDescriptionFormat = "[0] : [1]"
' Specifies the Column1 as the content for displaying the value of the subitem as statusbar's text as well as the ToolTip text of each list item.
' But the property will take effect only when the ListDescriptionFormat is not set.
gcMaskedComboBox1.ListDescriptionSubItemIndex = 1
' Shows the statusbar.
gcMaskedComboBox1.StatusBar.Visible = True
' Shows tool tip for each list item when mouse move to it.
gcMaskedComboBox1.ShowItemTip = True
' Shows overflow tip both on the edit box and each sub item.
gcMaskedComboBox1.ShowOverflowTip = True
End Sub
// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void SetStatusBarAndTipSettings()
{
// Creates the GcMaskedComboBox control.
GcMaskedComboBox gcMaskedComboBox1 = new GcMaskedComboBox();
// Sets the string format to "Column0:Column1" of the StatusBar.Text as well as the ToolTip text of each list item.
gcMaskedComboBox1.ListDescriptionFormat = "[0] : [1]";
// Specifies the Column1 as the content for displaying the value of the subitem as statusbar's text as well as the ToolTip text of each list item.
// But the property will take effect only when the ListDescriptionFormat is not set.
gcMaskedComboBox1.ListDescriptionSubItemIndex = 1;
// Shows the statusbar.
gcMaskedComboBox1.StatusBar.Visible = true;
// Shows tool tip for each list item when mouse move to it.
gcMaskedComboBox1.ShowItemTip = true;
// Shows overflow tip both on the edit box and each sub item.
gcMaskedComboBox1.ShowOverflowTip = true;
}