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
-
ObjectHyperlink
- Implements
-
INotifyPropertyChangedIWeakEventListener
Constructors
Hyperlink()
public Hyperlink()
Fields
DockPositionProperty
Identifies the DockPosition property.
public static readonly DependencyProperty DockPositionProperty
Field Value
- DependencyProperty
NavigateContentProperty
Identifies the NavigateContent property.
public static readonly DependencyProperty NavigateContentProperty
Field Value
- DependencyProperty
TargetProperty
Identifies the Target property.
public static readonly DependencyProperty TargetProperty
Field Value
- DependencyProperty
TitleProperty
Identifies the Title property.
public static readonly DependencyProperty TitleProperty
Field Value
- DependencyProperty
Properties
DockPosition
Gets or sets the dock position of the target window.
public DockPosition? DockPosition { get; set; }
Property Value
- Nullable<DockPosition>
NavigateContent
Gets or sets the content of the hyperlink.
public IApplicationPartConfiguration NavigateContent { get; set; }
Property Value
Target
Gets or sets the name of the target window.
public string Target { get; set; }
Property Value
- String
Title
Gets or sets the title of the target window.
public string Title { get; set; }
Property Value
- String
Methods
CreateInstanceCore()
Creates a new instance of the Freezable derived class.
protected override Freezable CreateInstanceCore()
Returns
- Freezable
The new instance.
OnPropertyChanged(String)
Triggers the PropertyChanged event.
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyNameStringName of the property.
ReceiveWeakEvent(Type, Object, EventArgs)
Receives events from the centralized event manager.
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
managerTypeTypeThe type of the System.Windows.WeakEventManager calling this method.
senderObjectObject that originated the event.
eEventArgsEvent 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
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged
Event Type
- PropertyChangedEventHandler