|
|
|
|
ImageDisabled Property, ScrollingClass Class |
Defines the scroll button image for a disabled button.
Syntax ScrollingClass Class (Softelvdm.SftTabsNET)
VB |
Public Property ImageDisabled As Image |
C# |
public Image ImageDisabled { get; set; } |
C++ |
public: property Image^ ImageDisabled { |
Property Value
An image containing representations of the left/up and right/down scroll button or null/Nothing to restore the default image.
The default value is null/Nothing.
Comments
The ImageDisabled property defines the scroll button image for a disabled button.
The ImageDisabled property can be used to override the default scroll button graphics provided by the tab control.
The image must contain two equal-sized images of the scroll buttons. The first half of the image is used for the left/up button, the second half for the right/down button.
The button graphics are arranged horizontally in the image, so the height of the image is the height of one button graphic and the width of the image is two times the width of one button graphic. The above sample contains 2 images (6 x 9 pixels).
If the scroll button is enabled, the image defined using the Image property is used instead of this property. If ImageDisabled does not define an image, the image defined using the Image property is painted in a "grayed" fashion".
The ImageDefault property can be set to the value null/Nothing, which restores the tab control's default, built-in scroll button graphics.
The height of the scroll buttons and tabs is adjusted if necessary so the complete button graphic can be displayed vertically and horizontally. If the FullSize property is set to True, the scroll buttons are made as square as possible.
Sample button images can be found in the product directory \Program Files\Softelvdm\SftTabs NET 6.0\Images.
The Buttons.ImageDisabled property can be used to define the Close, Minimize and Restore button graphics.