WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeRenderStyleInfo

    Show / Hide Table of Contents

    Class TreeRenderStyleInfo

    The cell render style information for a cell inside the VirtualTreeView. TreeRenderStyleInfo is created at runtime before cells are arranged in the tree control and you can change its settings with the PrepareRenderCell event of the tree control. Changes made to this style's properties will only be made for rendering the style and will not be commited back to the tree node.

    TreeRenderStyleInfo is bound to the VirtualTreeView and provides a public property to the get access to it. The base class TreeStyleInfo provides properties to access also the TreeNode, TreeColumn, TreeLevel and TreeModel the style is bound to.

    When making changes to the style that should be written back to the data store you should make the changes in the ModelStyle. TreeRenderStyleInfo.ModelStyle will fire Changed notifications that a TreeNode can then react to (or ignore if no mechanism for saving changes back has been implemented.)

    Inheritance
    System.Object
    StyleInfoBase
    TreeStyleInfo
    TreeRenderStyleInfo
    Implements
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IRenderCellInfo
    Inherited Members
    TreeStyleInfo.Empty
    TreeStyleInfo.CreateSubObjectIdentity(StyleInfoProperty)
    TreeStyleInfo.GetDefaultStyle()
    TreeStyleInfo.ResetBackground()
    TreeStyleInfo.ResetBorderMargins()
    TreeStyleInfo.ResetBorders()
    TreeStyleInfo.ResetCellRenderer()
    TreeStyleInfo.ResetCellTemplate()
    TreeStyleInfo.ResetCellTemplateKey()
    TreeStyleInfo.ResetCellValue()
    TreeStyleInfo.ResetCellValueType()
    TreeStyleInfo.GetCulture(Boolean)
    TreeStyleInfo.ResetCultureInfo()
    TreeStyleInfo.ResetFormat()
    TreeStyleInfo.GetFormattedText(Object)
    TreeStyleInfo.ApplyFormattedText(String)
    TreeStyleInfo.GetText(Object)
    TreeStyleInfo.ApplyText(String)
    TreeStyleInfo.IRenderCellInfo.GetCellBackground()
    TreeStyleInfo.IRenderCellInfo.CanCombineCellBackground(IRenderCellInfo)
    TreeStyleInfo.IRenderCellInfo.GetCellBorder(CellBorderSide)
    TreeStyleInfo.IRenderCellInfo.CanCombineCellBorder(CellBorderSide, IRenderCellInfo)
    TreeStyleInfo.IRenderCellInfo.GetBorderMargins()
    TreeStyleInfo.IRenderCellInfo.GetPadding()
    TreeStyleInfo.TreeNodeIdentity
    TreeStyleInfo.TreeModel
    TreeStyleInfo.TreeNode
    TreeStyleInfo.Column
    TreeStyleInfo.Level
    TreeStyleInfo.CellRowColumnIndex
    TreeStyleInfo.RowIndex
    TreeStyleInfo.ColumnIndex
    TreeStyleInfo.Store
    TreeStyleInfo.Default
    TreeStyleInfo.Background
    TreeStyleInfo.HasBackground
    TreeStyleInfo.BorderMargins
    TreeStyleInfo.ReadOnlyBorderMargins
    TreeStyleInfo.HasBorderMargins
    TreeStyleInfo.Borders
    TreeStyleInfo.ReadOnlyBorders
    TreeStyleInfo.HasBorders
    TreeStyleInfo.CellRenderer
    TreeStyleInfo.HasCellRenderer
    TreeStyleInfo.CellTemplate
    TreeStyleInfo.HasCellTemplate
    TreeStyleInfo.CellTemplateKey
    TreeStyleInfo.HasCellTemplateKey
    TreeStyleInfo.CellValue
    TreeStyleInfo.HasCellValue
    TreeStyleInfo.CellValueType
    TreeStyleInfo.HasCellValueType
    TreeStyleInfo.CultureInfo
    TreeStyleInfo.HasCultureInfo
    TreeStyleInfo.Format
    TreeStyleInfo.HasFormat
    TreeStyleInfo.FormattedText
    TreeStyleInfo.Text
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.ClearCache()
    StyleInfoBase.Dispose()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.BeginInit()
    StyleInfoBase.EndInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.Identity
    StyleInfoBase.CacheValues
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.Updating
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsChanged
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.VirtualTreeView
    Assembly: Syncfusion.GridCommon.Wpf.dll
    Syntax
    public class TreeRenderStyleInfo : TreeStyleInfo, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IRenderCellInfo

    Constructors

    TreeRenderStyleInfo(VirtualTreeView, TreeStyleInfo)

    Initalizes a new style object and associates it with an existing TreeStyleInfoIdentity.

    Declaration
    public TreeRenderStyleInfo(VirtualTreeView treeControl, TreeStyleInfo modelStyle)
    Parameters
    Type Name Description
    VirtualTreeView treeControl

    The tree control.

    TreeStyleInfo modelStyle

    The model style.

    Properties

    ModelStyle

    Gets the underlying model style. Use it to apply changes to style that should be written back to the data store (.e.g. in grid textbox: modelstyle.cellvalue = ...) TreeRenderStyleInfo.ModelStyle will fire Changed notifications that a TreeNode can then react to (or ignore if no mechanism for saving changes back has been implemented.)

    Declaration
    public TreeStyleInfo ModelStyle { get; }
    Property Value
    Type Description
    TreeStyleInfo

    VirtualTreeView

    Gets the tree control.

    Declaration
    public VirtualTreeView VirtualTreeView { get; }
    Property Value
    Type Description
    VirtualTreeView

    The tree control.

    Implements

    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IRenderCellInfo
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved