microsoft / xaml-standard

XAML Standard : a set of principles that drive XAML dialect alignment
Other
807 stars 54 forks source link

Add RichTextBox Control #138

Open snickler opened 7 years ago

snickler commented 7 years ago

As per the example given at https://msdn.microsoft.com/en-us/library/system.windows.controls.richtextbox(v=vs.110).aspx#code-snippet-2.

Support for binding would be greatly desired.

insinfo commented 7 years ago

@snickler Very well remembered, without doubt is a very useful control, I'll support you +1, support my ideas too If you can help me in defining the syntax of these controls Visit this link,

And update your post with a syntax demonstration

<RichTextBox Name="richTB">
  <FlowDocument>
    <Paragraph>
      <Run>Paragraph 1</Run>
    </Paragraph>
    <Paragraph>
      <Run>Paragraph 2</Run>
    </Paragraph>
    <Paragraph>
      <Run>Paragraph 3</Run>
    </Paragraph>
  </FlowDocument>
</RichTextBox>
birbilis commented 7 years ago

Can find a rich text editor for WPF and Silverlight based on a Microsoft sample here: http://clipflair.codeplex.com/SourceControl/latest (open Client/Media/Text/SilverTextEditor) in the tree. Will probably move that to a separate github repo

Used at http://studio.clipflair.net Silverlight app