menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PropertyCatagoryViewItem - API Reference

    Show / Hide Table of Contents

    Class PropertyCatagoryViewItem

    Inheritance
    System.Object
    PropertyCatagoryViewItem
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.PropertyGrid
    Assembly: Syncfusion.PropertyGrid.Wpf.dll
    Syntax
    public class PropertyCatagoryViewItem : TreeViewItem, IDisposable

    Constructors

    PropertyCatagoryViewItem()

    Initializes a new instance of the PropertyCatagoryViewItem class.

    Declaration
    public PropertyCatagoryViewItem()

    Fields

    CategoryForegroundProperty

    Declaration
    public static readonly DependencyProperty CategoryForegroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    EditableBackgroundProperty

    EditableBackgroundproperty depedency property for the PropertyGrid

    Declaration
    public static readonly DependencyProperty EditableBackgroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    EditableFontWeightProperty

    EditableFontWeight property depedency property for PropertyGrid

    Declaration
    public static readonly DependencyProperty EditableFontWeightProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsExpandedProperty

    Declaration
    public static readonly DependencyProperty IsExpandedProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    LineColorProperty

    Declaration
    public static readonly DependencyProperty LineColorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ReadOnlyBackgroundProperty

    ReadOnlyBackgroundproperty dependency property for the PropertyGrid

    Declaration
    public static readonly DependencyProperty ReadOnlyBackgroundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ReadOnlyFontWeightProperty

    ReadOnlyFontWeight depedency property for ReadOnlyFontWeight

    Declaration
    public static readonly DependencyProperty ReadOnlyFontWeightProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    CategoryForeground

    Gets or sets the text color used for category headings.

    Declaration
    public Brush CategoryForeground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The category foreground.

    EditableBackground

    Gets or sets the editable background.

    Declaration
    public Brush EditableBackground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The editable background.

    EditableFontWeight

    Gets or sets the editable font weight.

    Declaration
    public FontWeight EditableFontWeight { get; set; }
    Property Value
    Type Description
    System.Windows.FontWeight

    The editable font weight.

    IsExpanded

    Gets or sets a value indicating whether this instance is expanded.

    Declaration
    public bool IsExpanded { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is expanded; otherwise, false.

    LineColor

    Gets or sets the color of the borders and category heading background.

    Declaration
    public Brush LineColor { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The color of the line.

    ReadOnlyBackground

    Gets or sets the read only background.

    Declaration
    public Brush ReadOnlyBackground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The read only background.

    ReadOnlyFontWeight

    Gets or sets the read only font weight.

    Declaration
    public FontWeight ReadOnlyFontWeight { get; set; }
    Property Value
    Type Description
    System.Windows.FontWeight

    The read only font weight.

    Methods

    Dispose()

    Helps to clean up the resources which is being used.

    Declaration
    public void Dispose()

    GetContainerForItemOverride()

    Creates or identifies the element that is used to display the given item.

    Declaration
    protected override DependencyObject GetContainerForItemOverride()
    Returns
    Type Description
    System.Windows.DependencyObject

    The element that is used to display the given item.

    IsItemItsOwnContainerOverride(Object)

    Determines if the specified item is (or is eligible to be) its own container.

    Declaration
    protected override bool IsItemItsOwnContainerOverride(object item)
    Parameters
    Type Name Description
    System.Object item

    The item to check.

    Returns
    Type Description
    System.Boolean

    true if the item is (or is eligible to be) its own container; otherwise, false.

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

    Declaration
    public override void OnApplyTemplate()

    OnCreateAutomationPeer()

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer

    OnHeaderChanged(Object, Object)

    Called when the System.Windows.Controls.HeaderedItemsControl.Header property of a System.Windows.Controls.HeaderedItemsControl changes.

    Declaration
    protected override void OnHeaderChanged(object oldHeader, object newHeader)
    Parameters
    Type Name Description
    System.Object oldHeader

    The old value of the System.Windows.Controls.HeaderedItemsControl.Header property.

    System.Object newHeader

    The new value of the System.Windows.Controls.HeaderedItemsControl.Header property.

    OnIsExpandedChanged(DependencyPropertyChangedEventArgs)

    Raises the IsExpandedChanged event.

    Declaration
    protected void OnIsExpandedChanged(DependencyPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs args

    The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.

    OnKeyDown(KeyEventArgs)

    Invoked when an unhandled System.Windows.UIElement.OnKeyDown routed event is raised on this element. Implement this method to add class handling for this event.

    Declaration
    protected override void OnKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    OnMouseLeftButtonDown(MouseButtonEventArgs)

    Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

    Declaration
    protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

    PrepareContainerForItemOverride(DependencyObject, Object)

    Prepares the specified element to display the specified item.

    Declaration
    protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
    Parameters
    Type Name Description
    System.Windows.DependencyObject element

    Element used to display the specified item.

    System.Object item

    Specified item.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved