[]
        
(Showing Draft Content)

C1.Win.C1Command.C1NavBarButton

C1NavBarButton Class

The button of C1NavBar panel.

Inheritance
C1NavBarButton
Namespace: C1.Win.C1Command
Assembly: C1.Win.C1Command.4.8.dll
Syntax
[TypeConverter(typeof(C1NavBarButton.NavBarButtonTypeConverter))]
public class C1NavBarButton

Properties

Name Description
ID

Gets the unique identifier, which is the same for the corresponding button and panel.

Image

Gets or sets the image that is displayed on the button.

ImageTransparentColor

Gets or sets the color to treat as transparent in Image and SmallImage images.

PanelHeader

Gets or sets the text shown on the panel header.

SmallImage

Gets or sets the small image that is displayed in the button strip.

Text

Gets or sets the text displayed on the stack button, or in a tooltip when the button is in the bottom strip.

Visible

Gets or sets the visibility of the button.

Methods

Name Description
ResetImageText()

Restore the Text property to its default value.

ResetImageTransparentColor()

Restore the ImageTransparentColor property to its default value.

ShouldSerializeImageTransparentColor()

Indicates whether the ImageTransparentColor has a default value.

ShouldSerializeText()

Indicates whether the Text has a default value.

ToString()