HomeProductsSupportDownloadsOnline StoreOnLine DocumentationLicensingAbout UsContact Us
User's Manual - XTTreeview Windows Forms Control for Visual Basic .Net and C# - The Source Code Store .Com - Professional source code for Microsoft Visual Basic and Visual Studio .NET and specialized software components.
Back to Table of Contents
Example
Send Feedback

Appearance Property (Style Object)

Returns or sets a numeric value that determines the appearance of the Style object.

Appearance Property (Style Object)

Syntax:

StyleObject.Appearance [=E_STYLEAPPEARANCE]

The Appearance Property (Style Object) syntax has these parts:

 Part  Description
StyleObject An object expression that evaluates to a Style object.
E_STYLEAPPEARANCE A numeric value that determines the appearance as described in settings.

The settings for E_STYLEAPPEARANCE are:

 Setting  Description
0 (E_STYLEAPPEARANCE.SA_RAISED). Raised button. The border applied to these types of objects resembles a normal Windows button in the raised state. Background color is determined by the BackColor property of the Style object. The background color is always solid.
1 (E_STYLEAPPEARANCE.SA_SUNKEN). Sunken button. The border applied to these types of objects resembles a normal Windows button in the sunken state. Background color is determined by the BackColor property of the Style object. The background color is always solid.
2 (E_STYLEAPPEARANCE.SA_FLAT). Flat. Flat objects can have a hatch pattern that is determined by the BackgroundPattern property of the Style object, a solid pattern or they can be transparent. Flat objects can also have starting and ending shapes as determined by the StartShapeIndex and EndShapeIndex and borders around Flat objects are optional.
3 (E_STYLEAPPEARANCE.SA_GRAPHICAL). Graphical. The background is determined by a series of horizontally tiled pictures controlled by the StartPictureIndex, MiddlePictureIndex and EndPictureIndex properties of the Style object.
4 (E_STYLEAPPEARANCE.SA_CELL). Cell. A single line is drawn at the bottom using the color specified by the ForeColor property. The Background color can be controlled with the BackColor property of the Style object. An object with it's appearance set to Cell resembles a cell in a spreadsheet or grid.

Remarks:

This property controls the Appearance of any object that is associated with the Style object.

 

Home | Products | Support | Downloads | OnLine Store

Online Documentation | Licensing | About Us | Contact Us

Privacy Terms of use Copyright (c)2002-2005 The Source Code Store LLC. All trademarks are property of their legal owner.