Class WpfTreeHeader
Represents a header that is used for grouping nodes in a WpfTreeView.
Namespace: ABB.Robotics.RobotStudio.UI
Assembly: ABB.Robotics.RobotStudio.UI.dll
Syntax
public class WpfTreeHeader
Constructors
View SourceWpfTreeHeader(string, int, Brush)
Creates a new WpfTreeHeader.
Declaration
public WpfTreeHeader(string text, int order = 0, Brush brush = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Header text |
| int | order | Header order; headers are sorted in ascending order. |
| Brush | brush | Brush used for rendering the header. |
Properties
View SourceBrush
Gets the header brush.
Declaration
public Brush Brush { get; }
Property Value
| Type | Description |
|---|---|
| Brush |
Order
Gets the header order.
Declaration
public int Order { get; }
Property Value
| Type | Description |
|---|---|
| int |
Text
Gets the header text.
Declaration
public string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceCompareTo(WpfTreeHeader)
Compares two objects
Declaration
public int CompareTo(WpfTreeHeader other)
Parameters
| Type | Name | Description |
|---|---|---|
| WpfTreeHeader | other |
Returns
| Type | Description |
|---|---|
| int |
Equals(object)
Returns true if the two instances are equal
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
View SourceGetHashCode()
Returns a hash code for the object
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |