Table of Contents

Class Tooltip

Namespace
Dassie.Text.Tooltips
Assembly
dstx.dll

Represents a tooltip as a sequence of Words.

public class Tooltip : IEquatable<Tooltip>
Inheritance
Tooltip
Implements
Inherited Members
Extension Methods

Properties

IconResourceName

The resource name of the icon associated with the tooltip. Used by LSEdit.

public string IconResourceName { get; set; }

Property Value

string

RawText

The raw text of the current tooltip without styling information.

public string RawText { get; }

Property Value

string

Words

The words representing the current tooltip.

public ObservableCollection<Word> Words { get; set; }

Property Value

ObservableCollection<Word>

Methods

Equals(Tooltip)

Compares the current instance with another tooltip.

public bool Equals(Tooltip other)

Parameters

other Tooltip

The tooltip to compare.

Returns

bool

Wheter the tooltips are equal.

Equals(object)

Compares the current instance of Tooltip with any object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare to.

Returns

bool

Wheter the objects are equal.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Operators

operator ==(Tooltip, Tooltip)

Compares two tooltips.

public static bool operator ==(Tooltip left, Tooltip right)

Parameters

left Tooltip

The first tooltip.

right Tooltip

The second tooltip.

Returns

bool

Wheter the tooltips are equal.

operator !=(Tooltip, Tooltip)

Compares two tooltips.

public static bool operator !=(Tooltip left, Tooltip right)

Parameters

left Tooltip

The first tooltip.

right Tooltip

The second tooltip.

Returns

bool

Wheter the tooltips are not equal.