RichTechBox and justify alignment - winforms

Is any way to justify text in Windows Forms RichTextBox control?

justification is not supported per se. look here for a tutorial on how to extend the richtextbox to support justification.

Related

What are the advantages of using a WPF DevExpress LayoutControl give me over a WPF StackPanel?

I'm looking at the WPF DevExpress LayoutoutControl vs WPF standard StackPanel.
They both look pretty similar in the functionality they provide.
Can someone explain to me the basic differences?
What additional functionality/features does using the LayoutControl buy me?
Is a WPF 's functionality closer to that of a LayoutControl?
Thx
The DevExpress LayoutControl allows you to arrange items as tabs or in groups of different directions. Please refer to the docs for examples and more information about the control.
The built-in StackPanel simply arranges items into a single line that can be oriented either horizontally or vertically.
It has no concept of groups, tabs or customization modes and it doesn't support automatic alignment or resizing of child controls.

RadControls or DevExpress or Infragistics with ITextSharp [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for a rich text box for a winform application. C#, .net 4.0
I need support for Bold, Underline, bullets and numbering in the text box.
In the future, to add language support with spelling correction is a wish.
I need this to work with ITextSharp for report generation.
I'd appreciate input on which choise of controls that would best suit my needs.
I've previously used on various projects RadControls, Infragistics and iTextSharp but not DevExpress so I can't speak to DevExpress. That being said, for the kinds of rich text editing you are describing, I think you can safely go with any of the 3. If it were up to me, I would go with Infragistics though.
I guess it's a matter of personal preference in this case but I've always found Infragistics to be easier to use than RadControls. I've also found Infragistics' documentation to be better (from the standpoint of ease of locating what I was looking for) than that of RadControls. Both Infragistics and Telerik (RadControls) support teams/communities were very active and helpful whenever I needed help.
Like I said, I can't speak to DevExpress but I would imagine it'll be very comparable to the other two in this context. If you have any specific questions about Infragistics and RadTools, feel free to ask. I'd be happy to answer them.
From your question i was not able to deduce which form of Windows Application are you talking about. Because as you know we can develop windows based application on .NET using Windows Presentation Foundation or traditionally known WinForms development. I cant speak for others but certianly can point you to 2 flavours available from Telerik for Windows Application Development. They are:
RadControls for WinForms - RadRichTextBox:
Features:
Rich Text Formatting - Telerik RadRichTextBox control allows you to
edit text and apply rich formatting options, like:
Bold
Italic
Underline
Strike Through
Text color and background
Bullet and numbered lists
Paragraph alignment and indentation
Show/Hide formatting symbols
Clear Formatting
Superscript and Subscript
Inserting pictures/symbol
SpellChecker - extensible spell checking for different languages,
using built-in or custom dictionaries.
Multi-level Undo/Redo Support - Telerik RadRichTextBox provides
desktop-like usability and control thanks to its multilevel
Undo/Redo feature. It allows past actions to be reviewed and
reversed, just like in Microsoft Word.
Two types of layout – Paged and Flow (as text in an HTML page viewed
in a browser).
Multi-region selection - the built-in multi-region support enables
you to perform various operations for more than one selection
simultaneously.
Import/export - with Telerik RadRichTextBox control you can load
XAML, HTML, RTF, DocX (rich-text) or TXT (plain text) into the
control, you can format and edit it and then export it back to any
of the above formats or PDF.
More information on this can be found at: http://www.telerik.com/products/winforms.aspx
Documentation for RichTextBox for WinForms can be found at: http://www.telerik.com/help/winforms/richtextbox-overview.html
RadControls for WPF - RadRichTextBox:
Features:
Rich Text Formatting - Telerik RadRichTextBox control allows you to
edit text and apply rich formatting options, like:
Bold,
Italic
Underline,
Strike Through, Superscript and Subscript
Usage of all available system fonts
Text color and background
Bullet and numbered lists
Paragraph alignment and indentation
Show/Hide formatting symbols
Clear Formatting
Inserting pictures/symbols/hyperlinks/custom UI elements
Table support – including nested tables, merging cells, setting
different RowSpan and ColumnSpan, tables with auto width and more.
ContextMenu - a standard one is provided out of the box, but it can
be easily customized or substituted for a user-defined one.
SelectionMiniToolbar - very similar to the one in MS Word, but can
also be replaced with another.
SpellChecker - extensible spell checking for different languages,
using built-in or custom dictionaries.
Printing – Using the native printing implementation of WPF.
Multi-level Undo/Redo Support - Telerik RadRichTextBox provides
desktop-like usability and control thanks to its multilevel
Undo/Redo feature. It allows past actions to be reviewed and
reversed, just like in Microsoft Word.
Two types of layout – Paged and Flow (as text in an HTML page viewed
in a browser).
Multi-region selection - the built-in multi-region support enables
you to perform various operations for more than one selection
simultaneously.
Rich-text clipboard – allows rich text copy/paste from Word,
OpenOffice etc.; Import/export - with Telerik RadRichTextBox
control you can load XAML, HTML, RTF, DocX (rich-text) or TXT
(plain text) into the control, you can format and edit it and then
export it back to any of the above formats or PDF.
More information can be read at : http://www.telerik.com/products/wpf/overview.aspx
Here is the documentation of RichTextBox : http://www.telerik.com/help/wpf/radrichtextbox-overview.html
Hope with above information you are able to visualize the gamut of options our control provides.
Lohith (Tech Evangelist, Telerik India)

Which Silverlight Rich Text Box to use

SL4 now contains a Microsoft implementation of a RichTextBox. This is awesome but doesn't support bullets, numbering, super script or subscript.
There are also a bunch of other RichTextBox implementations out there from the control providers.
When is the best time to use the Microsoft one and when should I go to the market? What is the best control for the different use cases for a Rich Text control?
BTW, I'm not looking for subjective stuff. I'm interested in functionality, performance, extensibility, download size etc
performance? Forget about Microsoft`s RichTextBox. The WPF RichTextBox is a speed mess because its a FlowDocument. Silverlight is not different.

WPF Ribbon: full re-templating support

does exist any WPF ribbon control (commercial or not) that support full re-templating? Generally they have a number of built-in graphic themes but do not allow graphic redesign from scratch. Thanks in advance!
Even IF you would find one - there is a reason they do not allow full redesign, and that is that the Ribbon is legally protected by microsoft and you are only allowed to change the behavior that far. If you install, for example, the Ribbon support from Infragistics, you have to accept a separate license with Microsoft limiting what you can do.
So, the full styling support is missing for a good legal reason. Even a good technical one - I can understand MS putting some screws on developers to make sure Ribbon applications do behave "correctly" across applications.
I find Teleriks ribbon control was pretty good. I am not sure if it supports full re-templating although it does say it allows flexible styling?
I have also used Actipro's ribbon control in the past but found it a bit tedious.

Wpf- Is there a worth while way to add richtextbox capabilities (Bold, Italics, Underline, Strike-Through) to a control which inherits from textbox?

I am writing a text editor and had planned on using the richtextbox control however, the richtextbox's performance is abysmal. On even small documents the wpf richtextbox lags if you hold a key down. I do not need all of the features of the wpf richtextbox, but I do need rtf support.
How can I implement this?
If you need RTF support, you're best off just using RichTextBox. RichTextBox's slower performance mainly comes from supporting RTF, which is not trivial.
The wpf richtextbox understand FlowDocuments Winforms richtextbox not.
Maybe this helps you in general using wpf`s richtextbox:
http://www.codeproject.com/KB/WPF/BindableWPFRichTextBox.aspx
http://michaelsync.net/2009/06/09/bindable-wpf-richtext-editor-with-xamlhtml-convertor

Resources