This documentation is archived and is not being maintained.

TreeNodeStyle Properties

The TreeNodeStyle type exposes the following members.

  NameDescription
Public property BackColor Gets or sets the background color of the Web server control. (Inherited from Style.)
Public property BorderColor Gets or sets the border color of the Web server control. (Inherited from Style.)
Public property BorderStyle Gets or sets the border style of the Web server control. (Inherited from Style.)
Public property BorderWidth Gets or sets the border width of the Web server control. (Inherited from Style.)
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property ChildNodesPadding Gets or sets the amount of space between a parent node and a child node to which the TreeNodeStyle class is applied.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property CssClass Gets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client. (Inherited from Style.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Font Gets the font properties associated with the Web server control. (Inherited from Style.)
Public property ForeColor Gets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from Style.)
Public property Height Gets or sets the height of the Web server control. (Inherited from Style.)
Public property HorizontalPadding Gets or sets the amount of space to the left and right of the text in the node.
Public property ImageUrl Gets or sets the URL to an image that is displayed next to the node.
Public property IsEmpty Infrastructure. A protected property. Gets a value indicating whether any style elements have been defined in the state bag. (Inherited from Style.)
Protected property IsTrackingViewState Returns a value indicating whether any style elements have been defined in the state bag. (Inherited from Style.)
Public property NodeSpacing Gets or sets the amount of vertical spacing between the node to which the TreeNodeStyle object is applied and its adjacent nodes.
Public property RegisteredCssClass Gets the cascading style sheet (CSS) class that is registered with the control. (Inherited from Style.)
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property VerticalPadding Gets or sets the amount of space above and below the text for a node.
Protected property ViewState Infrastructure. Gets the state bag that holds the style elements. (Inherited from Style.)
Public property Width Gets or sets the width of the Web server control. (Inherited from Style.)
Top

  NameDescription
Explicit interface implemetation Private property IStateManager.IsTrackingViewState Gets a value that indicates whether a server control is tracking its view state changes. (Inherited from Style.)
Top
Show: