GrapeCity.Win.MultiRow Namespace > PopupCell Class : ButtonFlatAppearance Property |
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> <SRCategoryAttribute("Appearance")> <SRDescriptionAttribute("Indicates the appearance of the pop up button.")> Public ReadOnly Property ButtonFlatAppearance As MultiRowFlatButtonAppearance
Dim instance As PopupCell Dim value As MultiRowFlatButtonAppearance value = instance.ButtonFlatAppearance
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [SRCategory("Appearance")] [SRDescription("Indicates the appearance of the pop up button.")] public MultiRowFlatButtonAppearance ButtonFlatAppearance {get;}
PopupCell CreateCustomButtonAppearancePopupCell() { PopupCell popupCell1 = new PopupCell(); popupCell1.ButtonForeColor = Color.Red; popupCell1.ButtonBackColor = Color.Yellow; popupCell1.ButtonFlatStyle = FlatStyle.Flat; popupCell1.ButtonFlatAppearance.MouseOverBackColor = Color.Orange; popupCell1.Ellipsis = MultiRowEllipsisMode.EllipsisEnd; popupCell1.Size = new Size(130, 21); // Show Font dialog to edit font. popupCell1.Popup = new FontDialog(); popupCell1.PopupValueMember = "Font"; return popupCell1; }
Private Function CreateCustomButtonAppearancePopupCell() As PopupCell Dim popupCell1 As New PopupCell() popupCell1.ButtonForeColor = Color.Red popupCell1.ButtonBackColor = Color.Yellow popupCell1.ButtonFlatStyle = FlatStyle.Flat popupCell1.ButtonFlatAppearance.MouseOverBackColor = Color.Orange popupCell1.Ellipsis = MultiRowEllipsisMode.EllipsisEnd popupCell1.Size = New Size(130, 21) ' Show Font dialog to edit font. popupCell1.Popup = New FontDialog() popupCell1.PopupValueMember = "Font" Return popupCell1 End Function
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2