Infragistics2.Win.UltraWinTree.v8.1
DisplayStyle Property
See Also  Example
Infragistics.Win.UltraWinTree Namespace > UltraTree Class : DisplayStyle Property

Gets/sets the display style for the control, i.e., standard or Windows Vista.

Syntax

Visual Basic (Declaration) 
Public Property DisplayStyle As UltraTreeDisplayStyle
C# 
public UltraTreeDisplayStyle DisplayStyle {get; set;}

Remarks

This property determines the defaults for certain display and behaviors of the tree. Setting this property to WindowsVista will make the tree look more like the tree in Windows Explorer on the Windows Vista operating system.

Example

Visual BasicCopy Code
Imports Infragistics.Win.UltraWinTree

' Set the DisplayStyle of the tree to Windows Vista.
Me.ultraTree1.DisplayStyle = UltraTreeDisplayStyle.WindowsVista
C#Copy Code
using Infragistics.Win.UltraWinTree;

// Set the DisplayStyle of the tree to Windows Vista.
this.ultraTree1.DisplayStyle = UltraTreeDisplayStyle.WindowsVista;

See Also