Class WpfTreeHeader
Represents a header that is used for grouping nodes in a Wpf
Namespace: ABB.Robotics.RobotStudio .UI
Assembly: ABB.Robotics.RobotStudio.UI.dll
Syntax
public class WpfTreeHeader
Constructors
WpfTreeHeader(string, int, Brush)
Creates a new Wpf
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
Brush
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
CompareTo(WpfTreeHeader)
Compares two objects
Declaration
public int CompareTo(WpfTreeHeader other)
Parameters
Type | Name | Description |
---|---|---|
Wpf |
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
GetHashCode()
Returns a hash code for the object
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |