Table of Contents

Class Hyperlink

Namespace
TimeCockpit.Data.DataModel.View
Assembly
TimeCockpit.Data.dll

Provides a link to another application part in a cell.

public class Hyperlink : Freezable, INotifyPropertyChanged, IWeakEventListener
Inheritance
Object
Hyperlink
Implements
INotifyPropertyChanged
IWeakEventListener

Constructors

public Hyperlink()

Fields

Identifies the DockPosition property.

public static readonly DependencyProperty DockPositionProperty

Field Value

DependencyProperty

Identifies the NavigateContent property.

public static readonly DependencyProperty NavigateContentProperty

Field Value

DependencyProperty

Identifies the Target property.

public static readonly DependencyProperty TargetProperty

Field Value

DependencyProperty

Identifies the Title property.

public static readonly DependencyProperty TitleProperty

Field Value

DependencyProperty

Properties

Gets or sets the dock position of the target window.

public DockPosition? DockPosition { get; set; }

Property Value

Nullable<DockPosition>

Gets or sets the content of the hyperlink.

public IApplicationPartConfiguration NavigateContent { get; set; }

Property Value

IApplicationPartConfiguration

Gets or sets the name of the target window.

public string Target { get; set; }

Property Value

String

Gets or sets the title of the target window.

public string Title { get; set; }

Property Value

String

Methods

Creates a new instance of the Freezable derived class.

protected override Freezable CreateInstanceCore()

Returns

Freezable

The new instance.

Triggers the PropertyChanged event.

protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName String

Name of the property.

Receives events from the centralized event manager.

public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)

Parameters

managerType Type

The type of the System.Windows.WeakEventManager calling this method.

sender Object

Object that originated the event.

e EventArgs

Event data.

Returns

Boolean

true if the listener handled the event. It is considered an error by the System.Windows.WeakEventManager handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle.

Events

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler