Show / Hide Table of Contents

Class WpfTreeHeader

Represents a header that is used for grouping nodes in a WpfTreeView.

Inheritance
object
WpfTreeHeader
Namespace: ABB.Robotics.RobotStudio.UI
Assembly: ABB.Robotics.RobotStudio.UI.dll
Syntax
public class WpfTreeHeader

Constructors

View Source

WpfTreeHeader(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 Source

Brush

Gets the header brush.

Declaration
public Brush Brush { get; }
Property Value
Type Description
Brush
View Source

Order

Gets the header order.

Declaration
public int Order { get; }
Property Value
Type Description
int
View Source

Text

Gets the header text.

Declaration
public string Text { get; }
Property Value
Type Description
string

Methods

View Source

CompareTo(WpfTreeHeader)

Compares two objects

Declaration
public int CompareTo(WpfTreeHeader other)
Parameters
Type Name Description
WpfTreeHeader other
Returns
Type Description
int
View Source

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
object.Equals(object)
View Source

GetHashCode()

Returns a hash code for the object

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
  • View Source
In this article
Back to top Copyright © 2025 ABB