'Declaration Public Property ActiveCellAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase ActiveCellAppearance {get; set;}
The ActiveCellAppearance property is also exposed by the UltraTreeColumnSettings and UltraTreeNodeColumn) classes; setting it at the UltraTreeColumnSet level will affect all cells displayed by columns that belong to this instance's Columns collection.
Imports Infragistics.Win Imports Infragistics.Win.UltraWinTree Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim columnSet As UltraTreeColumnSet = Me.ultraTree1.ColumnSettings.ColumnSets(0) ' Use the ActiveCellAppearance to bring attention to the cell ' with the input focus columnSet.ActiveCellAppearance.BackColor = Color.Red columnSet.ActiveCellAppearance.ForeColor = Color.White ' Set AllowCellEdit to 'ActivateOnly' so that clicking a cell does ' not put in into edit mode immediately columnSet.AllowCellEdit = AllowCellEdit.ActivateOnly ' Enable tooltips for cells whose value is not fully visible columnSet.TipStyleCell = TipStyleCell.Show End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinTree; using System.Diagnostics; private void button3_Click(object sender, System.EventArgs e) { UltraTreeColumnSet columnSet = Me.ultraTree1.ColumnSettings.ColumnSets[0]; // Use the ActiveCellAppearance to bring attention to the cell // with the input focus columnSet.ActiveCellAppearance.BackColor = Color.Red; columnSet.ActiveCellAppearance.ForeColor = Color.White; // Set AllowCellEdit to 'ActivateOnly' so that clicking a cell does // not put in into edit mode immediately columnSet.AllowCellEdit = AllowCellEdit.ActivateOnly; // Enable tooltips for cells whose value is not fully visible columnSet.TipStyleCell = TipStyleCell.Show; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2