Class MarkdownField
public class MarkdownField : ValueField<string>, IField<string>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo, IBoundField
- Inheritance
-
MarkdownField
- Implements
- Inherited Members
- Extension Methods
Constructors
MarkdownField(ISurface, string, string)
public MarkdownField(ISurface surface, string label, string initialValue)
Parameters
MarkdownField(ISurface, string, IValue<string>?)
public MarkdownField(ISurface surface, string label, IValue<string>? value = null)
Parameters
MarkdownField(ISurface, IOwnedValue<string>?)
public MarkdownField(ISurface surface, IOwnedValue<string>? value = null)
Parameters
surfaceISurfacevalueIOwnedValue<string>
Properties
DoEdit
public ICommand DoEdit { get; }
Property Value
DoPreview
public ICommand DoPreview { get; }
Property Value
Document
The rendered FlowDocument for the current Markdown value. Lazily initialised on first access so the FlowDocument is created on the UI thread.
public FlowDocument Document { get; }
Property Value
Methods
Edit()
protected virtual Task Edit()
Returns
Preview()
protected virtual Task Preview()
Returns
SetViewFromModelAndNotifyInternal()
protected override void SetViewFromModelAndNotifyInternal()