New to Telerik UI for WPFStart a free 30-day trial

Represents basic ITimeMarker implementation.

Definition

Constructors

Initializes a new instance of the TimeMarker class.

C#
public TimeMarker()

Initializes a new instance of the TimeMarker class.

C#
public TimeMarker(string name, Brush brush)
Parameters:namestring

The name.

brushBrush

The brush.

Properties

Gets the busy.

C#
public static TimeMarker Busy { get; }
Property Value:

The busy.

Gets the free.

C#
public static TimeMarker Free { get; }
Property Value:

The free.

Gets the out of office.

C#
public static TimeMarker OutOfOffice { get; }
Property Value:

The out of office.

Gets the tentative.

C#
public static TimeMarker Tentative { get; }
Property Value:

The tentative.

Gets or sets the time marker brush.

C#
public Brush TimeMarkerBrush { get; set; }
Property Value:

The time marker brush.

Gets or sets the name of the time marker.

C#
public string TimeMarkerName { get; set; }
Property Value:

The name of the time marker.

Implements: ITimeMarker.TimeMarkerName

Methods

Determines whether the specified ITimeMarker is equal to this instance.

C#
public bool Equals(ITimeMarker other)
Parameters:otherITimeMarker

The ITimeMarker to compare with this instance.

Returns:

bool

true if the specified ITimeMarker is equal to this instance; otherwise, false.

Implements: IEquatable<ITimeMarker>.Equals(ITimeMarker)

Determines whether the specified object is equal to this instance.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with this instance.

Returns:

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides: object.Equals(object)

Returns a hash code for this instance.

C#
public override int GetHashCode()
Returns:

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides: object.GetHashCode()