Class Hyperlink
Provides a link to another application part in a cell.
Inheritance
Implements
Namespace: TimeCockpit.Data.DataModel.View
Assembly: TimeCockpit.Data.dll
Syntax
public class Hyperlink : Freezable, INotifyPropertyChanged, IWeakEventListener
Constructors
Hyperlink()
Declaration
public Hyperlink()
Fields
DockPositionProperty
Identifies the DockPosition property.
Declaration
public static readonly DependencyProperty DockPositionProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
NavigateContentProperty
Identifies the NavigateContent property.
Declaration
public static readonly DependencyProperty NavigateContentProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
TargetProperty
Identifies the Target property.
Declaration
public static readonly DependencyProperty TargetProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
TitleProperty
Identifies the Title property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Properties
DockPosition
Gets or sets the dock position of the target window.
Declaration
public DockPosition? DockPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DockPosition> |
NavigateContent
Gets or sets the content of the hyperlink.
Declaration
public IApplicationPartConfiguration NavigateContent { get; set; }
Property Value
Type | Description |
---|---|
IApplicationPartConfiguration |
Target
Gets or sets the name of the target window.
Declaration
public string Target { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Title
Gets or sets the title of the target window.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
CreateInstanceCore()
Creates a new instance of the Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Type | Description |
---|---|
System.Windows.Freezable | The new instance. |
OnPropertyChanged(String)
Triggers the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the property. |
ReceiveWeakEvent(Type, Object, EventArgs)
Receives events from the centralized event manager.
Declaration
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Type | managerType | The type of the System.Windows.WeakEventManager calling this method. |
System.Object | sender | Object that originated the event. |
System.EventArgs | e | Event data. |
Returns
Type | Description |
---|---|
System.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.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |