C# Class UniversalMarkdown.MarkdownTextBlock

Inheritance: Windows.UI.Xaml.Controls.UserControl, ILinkRegister
显示文件 Open project: QuinnDamerell/UniversalMarkdown Class Usage Examples

Public Properties

Property Type Description
CodeBackgroundProperty Windows.UI.Xaml.DependencyProperty
CodeBorderBrushProperty Windows.UI.Xaml.DependencyProperty
CodeBorderThicknessProperty Windows.UI.Xaml.DependencyProperty
CodeFontFamilyProperty Windows.UI.Xaml.DependencyProperty
CodeForegroundProperty Windows.UI.Xaml.DependencyProperty
CodeMarginProperty Windows.UI.Xaml.DependencyProperty
CodePaddingProperty Windows.UI.Xaml.DependencyProperty
Header1FontSizeProperty Windows.UI.Xaml.DependencyProperty
Header1FontWeightProperty Windows.UI.Xaml.DependencyProperty
Header1MarginProperty Windows.UI.Xaml.DependencyProperty
Header2FontSizeProperty Windows.UI.Xaml.DependencyProperty
Header2FontWeightProperty Windows.UI.Xaml.DependencyProperty
Header2MarginProperty Windows.UI.Xaml.DependencyProperty
Header3FontSizeProperty Windows.UI.Xaml.DependencyProperty
Header3FontWeightProperty Windows.UI.Xaml.DependencyProperty
Header3MarginProperty Windows.UI.Xaml.DependencyProperty
Header4FontSizeProperty Windows.UI.Xaml.DependencyProperty
Header4FontWeightProperty Windows.UI.Xaml.DependencyProperty
Header4MarginProperty Windows.UI.Xaml.DependencyProperty
Header5FontSizeProperty Windows.UI.Xaml.DependencyProperty
Header5FontWeightProperty Windows.UI.Xaml.DependencyProperty
Header5MarginProperty Windows.UI.Xaml.DependencyProperty
Header6FontSizeProperty Windows.UI.Xaml.DependencyProperty
Header6FontWeightProperty Windows.UI.Xaml.DependencyProperty
Header6MarginProperty Windows.UI.Xaml.DependencyProperty
HorizontalRuleBrushProperty Windows.UI.Xaml.DependencyProperty
HorizontalRuleMarginProperty Windows.UI.Xaml.DependencyProperty
HorizontalRuleThicknessProperty Windows.UI.Xaml.DependencyProperty
IsTextSelectionEnabledProperty Windows.UI.Xaml.DependencyProperty
ListBulletSpacingProperty Windows.UI.Xaml.DependencyProperty
ListGutterWidthProperty Windows.UI.Xaml.DependencyProperty
ListMarginProperty Windows.UI.Xaml.DependencyProperty
MarkdownProperty Windows.UI.Xaml.DependencyProperty
ParagraphMarginProperty Windows.UI.Xaml.DependencyProperty
QuoteBackgroundProperty Windows.UI.Xaml.DependencyProperty
QuoteBorderBrushProperty Windows.UI.Xaml.DependencyProperty
QuoteBorderThicknessProperty Windows.UI.Xaml.DependencyProperty
QuoteForegroundProperty Windows.UI.Xaml.DependencyProperty
QuoteMarginProperty Windows.UI.Xaml.DependencyProperty
QuotePaddingProperty Windows.UI.Xaml.DependencyProperty
TableBorderBrushProperty Windows.UI.Xaml.DependencyProperty
TableBorderThicknessProperty Windows.UI.Xaml.DependencyProperty
TableCellPaddingProperty Windows.UI.Xaml.DependencyProperty
TableMarginProperty Windows.UI.Xaml.DependencyProperty
TextWrappingProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
MarkdownTextBlock ( ) : System

Creates a new markdown text block

RegisterNewHyperLink ( Hyperlink newHyperlink, string linkUrl ) : void

Called when the render has a link we need to listen to.

Private Methods

Method Description
Hyperlink_Click ( Hyperlink sender, HyperlinkClickEventArgs args ) : void

Fired when a user taps one of the link elements

OnPropertyChanged ( DependencyObject d, DependencyProperty prop ) : void

Fired when the value of a DependencyProperty is changed.

OnPropertyChangedStatic ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Calls OnPropertyChanged.

UnhookListeners ( ) : void

Method Details

MarkdownTextBlock() public method

Creates a new markdown text block
public MarkdownTextBlock ( ) : System
return System

RegisterNewHyperLink() public method

Called when the render has a link we need to listen to.
public RegisterNewHyperLink ( Hyperlink newHyperlink, string linkUrl ) : void
newHyperlink Hyperlink
linkUrl string
return void

Property Details

CodeBackgroundProperty public_oe static_oe property

Gets the dependency property for CodeBackground.
public static DependencyProperty,Windows.UI.Xaml CodeBackgroundProperty
return Windows.UI.Xaml.DependencyProperty

CodeBorderBrushProperty public_oe static_oe property

Gets the dependency property for CodeBorderBrush.
public static DependencyProperty,Windows.UI.Xaml CodeBorderBrushProperty
return Windows.UI.Xaml.DependencyProperty

CodeBorderThicknessProperty public_oe static_oe property

Gets the dependency property for CodeBorderThickness.
public static DependencyProperty,Windows.UI.Xaml CodeBorderThicknessProperty
return Windows.UI.Xaml.DependencyProperty

CodeFontFamilyProperty public_oe static_oe property

Gets the dependency property for CodeFontFamily.
public static DependencyProperty,Windows.UI.Xaml CodeFontFamilyProperty
return Windows.UI.Xaml.DependencyProperty

CodeForegroundProperty public_oe static_oe property

Gets the dependency property for CodeForeground.
public static DependencyProperty,Windows.UI.Xaml CodeForegroundProperty
return Windows.UI.Xaml.DependencyProperty

CodeMarginProperty public_oe static_oe property

Gets the dependency property for CodeMargin.
public static DependencyProperty,Windows.UI.Xaml CodeMarginProperty
return Windows.UI.Xaml.DependencyProperty

CodePaddingProperty public_oe static_oe property

Gets the dependency property for CodePadding.
public static DependencyProperty,Windows.UI.Xaml CodePaddingProperty
return Windows.UI.Xaml.DependencyProperty

Header1FontSizeProperty public_oe static_oe property

Gets the dependency property for Header1FontSize.
public static DependencyProperty,Windows.UI.Xaml Header1FontSizeProperty
return Windows.UI.Xaml.DependencyProperty

Header1FontWeightProperty public_oe static_oe property

Gets the dependency property for Header1FontWeight.
public static DependencyProperty,Windows.UI.Xaml Header1FontWeightProperty
return Windows.UI.Xaml.DependencyProperty

Header1MarginProperty public_oe static_oe property

Gets the dependency property for Header1Margin.
public static DependencyProperty,Windows.UI.Xaml Header1MarginProperty
return Windows.UI.Xaml.DependencyProperty

Header2FontSizeProperty public_oe static_oe property

Gets the dependency property for Header2FontSize.
public static DependencyProperty,Windows.UI.Xaml Header2FontSizeProperty
return Windows.UI.Xaml.DependencyProperty

Header2FontWeightProperty public_oe static_oe property

Gets the dependency property for Header2FontWeight.
public static DependencyProperty,Windows.UI.Xaml Header2FontWeightProperty
return Windows.UI.Xaml.DependencyProperty

Header2MarginProperty public_oe static_oe property

Gets the dependency property for Header2Margin.
public static DependencyProperty,Windows.UI.Xaml Header2MarginProperty
return Windows.UI.Xaml.DependencyProperty

Header3FontSizeProperty public_oe static_oe property

Gets the dependency property for Header3FontSize.
public static DependencyProperty,Windows.UI.Xaml Header3FontSizeProperty
return Windows.UI.Xaml.DependencyProperty

Header3FontWeightProperty public_oe static_oe property

Gets the dependency property for Header3FontWeight.
public static DependencyProperty,Windows.UI.Xaml Header3FontWeightProperty
return Windows.UI.Xaml.DependencyProperty

Header3MarginProperty public_oe static_oe property

Gets the dependency property for Header3Margin.
public static DependencyProperty,Windows.UI.Xaml Header3MarginProperty
return Windows.UI.Xaml.DependencyProperty

Header4FontSizeProperty public_oe static_oe property

Gets the dependency property for Header4FontSize.
public static DependencyProperty,Windows.UI.Xaml Header4FontSizeProperty
return Windows.UI.Xaml.DependencyProperty

Header4FontWeightProperty public_oe static_oe property

Gets the dependency property for Header4FontWeight.
public static DependencyProperty,Windows.UI.Xaml Header4FontWeightProperty
return Windows.UI.Xaml.DependencyProperty

Header4MarginProperty public_oe static_oe property

Gets the dependency property for Header4Margin.
public static DependencyProperty,Windows.UI.Xaml Header4MarginProperty
return Windows.UI.Xaml.DependencyProperty

Header5FontSizeProperty public_oe static_oe property

Gets the dependency property for Header5FontSize.
public static DependencyProperty,Windows.UI.Xaml Header5FontSizeProperty
return Windows.UI.Xaml.DependencyProperty

Header5FontWeightProperty public_oe static_oe property

Gets the dependency property for Header5FontWeight.
public static DependencyProperty,Windows.UI.Xaml Header5FontWeightProperty
return Windows.UI.Xaml.DependencyProperty

Header5MarginProperty public_oe static_oe property

Gets the dependency property for Header5Margin.
public static DependencyProperty,Windows.UI.Xaml Header5MarginProperty
return Windows.UI.Xaml.DependencyProperty

Header6FontSizeProperty public_oe static_oe property

Gets the dependency property for Header6FontSize.
public static DependencyProperty,Windows.UI.Xaml Header6FontSizeProperty
return Windows.UI.Xaml.DependencyProperty

Header6FontWeightProperty public_oe static_oe property

Gets the dependency property for Header6FontWeight.
public static DependencyProperty,Windows.UI.Xaml Header6FontWeightProperty
return Windows.UI.Xaml.DependencyProperty

Header6MarginProperty public_oe static_oe property

Gets the dependency property for Header6Margin.
public static DependencyProperty,Windows.UI.Xaml Header6MarginProperty
return Windows.UI.Xaml.DependencyProperty

HorizontalRuleBrushProperty public_oe static_oe property

Gets the dependency property for HorizontalRuleBrush.
public static DependencyProperty,Windows.UI.Xaml HorizontalRuleBrushProperty
return Windows.UI.Xaml.DependencyProperty

HorizontalRuleMarginProperty public_oe static_oe property

Gets the dependency property for HorizontalRuleMargin.
public static DependencyProperty,Windows.UI.Xaml HorizontalRuleMarginProperty
return Windows.UI.Xaml.DependencyProperty

HorizontalRuleThicknessProperty public_oe static_oe property

Gets the dependency property for HorizontalRuleThickness.
public static DependencyProperty,Windows.UI.Xaml HorizontalRuleThicknessProperty
return Windows.UI.Xaml.DependencyProperty

IsTextSelectionEnabledProperty public_oe static_oe property

Gets the dependency property for IsTextSelectionEnabled.
public static DependencyProperty,Windows.UI.Xaml IsTextSelectionEnabledProperty
return Windows.UI.Xaml.DependencyProperty

ListBulletSpacingProperty public_oe static_oe property

Gets the dependency property for ListBulletSpacing.
public static DependencyProperty,Windows.UI.Xaml ListBulletSpacingProperty
return Windows.UI.Xaml.DependencyProperty

ListGutterWidthProperty public_oe static_oe property

Gets the dependency property for ListGutterWidth.
public static DependencyProperty,Windows.UI.Xaml ListGutterWidthProperty
return Windows.UI.Xaml.DependencyProperty

ListMarginProperty public_oe static_oe property

Gets the dependency property for ListMargin.
public static DependencyProperty,Windows.UI.Xaml ListMarginProperty
return Windows.UI.Xaml.DependencyProperty

MarkdownProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MarkdownProperty
return Windows.UI.Xaml.DependencyProperty

ParagraphMarginProperty public_oe static_oe property

Gets the dependency property for ParagraphMargin.
public static DependencyProperty,Windows.UI.Xaml ParagraphMarginProperty
return Windows.UI.Xaml.DependencyProperty

QuoteBackgroundProperty public_oe static_oe property

Gets the dependency property for QuoteBackground.
public static DependencyProperty,Windows.UI.Xaml QuoteBackgroundProperty
return Windows.UI.Xaml.DependencyProperty

QuoteBorderBrushProperty public_oe static_oe property

Gets the dependency property for QuoteBorderBrush.
public static DependencyProperty,Windows.UI.Xaml QuoteBorderBrushProperty
return Windows.UI.Xaml.DependencyProperty

QuoteBorderThicknessProperty public_oe static_oe property

Gets the dependency property for QuoteBorderThickness.
public static DependencyProperty,Windows.UI.Xaml QuoteBorderThicknessProperty
return Windows.UI.Xaml.DependencyProperty

QuoteForegroundProperty public_oe static_oe property

Gets the dependency property for QuoteForeground.
public static DependencyProperty,Windows.UI.Xaml QuoteForegroundProperty
return Windows.UI.Xaml.DependencyProperty

QuoteMarginProperty public_oe static_oe property

Gets the dependency property for QuoteMargin.
public static DependencyProperty,Windows.UI.Xaml QuoteMarginProperty
return Windows.UI.Xaml.DependencyProperty

QuotePaddingProperty public_oe static_oe property

Gets the dependency property for QuotePadding.
public static DependencyProperty,Windows.UI.Xaml QuotePaddingProperty
return Windows.UI.Xaml.DependencyProperty

TableBorderBrushProperty public_oe static_oe property

Gets the dependency property for TableBorderBrush.
public static DependencyProperty,Windows.UI.Xaml TableBorderBrushProperty
return Windows.UI.Xaml.DependencyProperty

TableBorderThicknessProperty public_oe static_oe property

Gets the dependency property for TableBorderThickness.
public static DependencyProperty,Windows.UI.Xaml TableBorderThicknessProperty
return Windows.UI.Xaml.DependencyProperty

TableCellPaddingProperty public_oe static_oe property

Gets the dependency property for TableCellPadding.
public static DependencyProperty,Windows.UI.Xaml TableCellPaddingProperty
return Windows.UI.Xaml.DependencyProperty

TableMarginProperty public_oe static_oe property

Gets the dependency property for TableMargin.
public static DependencyProperty,Windows.UI.Xaml TableMarginProperty
return Windows.UI.Xaml.DependencyProperty

TextWrappingProperty public_oe static_oe property

Gets the dependency property for TextWrapping.
public static DependencyProperty,Windows.UI.Xaml TextWrappingProperty
return Windows.UI.Xaml.DependencyProperty