Table of Contents

Class EntityLink

Namespace
The.WPF.Controls
Assembly
Instagile.WPF.dll
[TemplatePart(Name = "PART_Link", Type = typeof(Hyperlink))]
public sealed class EntityLink : ContentControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IVisitor<Action<bool>>
Inheritance
EntityLink
Implements
Inherited Members

Fields

public static readonly DependencyProperty CopyEntityTextCommandProperty

Field Value

DependencyProperty
public static readonly DependencyProperty EntityProperty

Field Value

DependencyProperty
public static readonly DependencyProperty FallbackTextProperty

Field Value

DependencyProperty
public static readonly DependencyProperty NavigateCommandProperty

Field Value

DependencyProperty
public static readonly DependencyProperty NavigateInBackgroundCommandProperty

Field Value

DependencyProperty
public static readonly DependencyProperty OpenForEditProperty

Field Value

DependencyProperty
public static readonly DependencyProperty SurfaceProperty

Field Value

DependencyProperty
public static readonly DependencyProperty TextDecorationsProperty

Field Value

DependencyProperty

Properties

public ICommand CopyEntityTextCommand { get; set; }

Property Value

ICommand
public IEntity Entity { get; set; }

Property Value

IEntity
public string FallbackText { get; set; }

Property Value

string
public ICommand NavigateCommand { get; set; }

Property Value

ICommand
public ICommand NavigateInBackgroundCommand { get; set; }

Property Value

ICommand
public bool OpenForEdit { get; set; }

Property Value

bool
public ISurface Surface { get; set; }

Property Value

ISurface
public TextDecorationCollection TextDecorations { get; set; }

Property Value

TextDecorationCollection

Methods

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseDown(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.

Invoked when an unhandled System.Windows.Input.Mouse.MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseUp(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. The event data reports that the mouse button was released.

public Action<bool> Visit<T>() where T : IEntity<T>

Returns

Action<bool>

Type Parameters

T