'Declaration Public Event BeforeRenderTextMarker As EventHandler(Of TextMarkerEventArgs)
public event EventHandler<TextMarkerEventArgs> BeforeRenderTextMarker
The event handler receives an argument of type TextMarkerEventArgs containing data related to this event. The following TextMarkerEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel (Inherited from System.ComponentModel.CancelEventArgs) | |
Data | Gets the data context. |
FontColor | Gets or sets the color of the font used to render the marker. |
FontFamily | Gets or sets the font family of the font used to render the marker. |
FontSize | Gets or sets the size of the font used to render the marker. |
FontStyle | Gets or sets the style of the font used to render the marker. |
Offset | Gets or sets the distance to offset the text from the marker location. |
Text | Gets or sets the text to be displayed in the marker. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2