Click here to Skip to main content
15,867,686 members
Home / Discussions / WPF
   

WPF

 
Question(Advanced?) Layout question Pin
Super Lloyd17-Dec-21 20:02
Super Lloyd17-Dec-21 20:02 
QuestionAbout RichTextBox size in a canvas Pin
Super Lloyd12-Dec-21 1:23
Super Lloyd12-Dec-21 1:23 
AnswerRe: About RichTextBox size in a canvas Pin
Richard Deeming12-Dec-21 21:49
mveRichard Deeming12-Dec-21 21:49 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd12-Dec-21 21:58
Super Lloyd12-Dec-21 21:58 
AnswerRe: About RichTextBox size in a canvas Pin
Gerry Schmitz13-Dec-21 7:22
mveGerry Schmitz13-Dec-21 7:22 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd13-Dec-21 11:42
Super Lloyd13-Dec-21 11:42 
GeneralRe: About RichTextBox size in a canvas Pin
Gerry Schmitz13-Dec-21 14:28
mveGerry Schmitz13-Dec-21 14:28 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd13-Dec-21 14:40
Super Lloyd13-Dec-21 14:40 
Gerry Schmitz wrote:
The position of the edit box is not dependent on the canvas since you can have "layers".

No idea what you mean. Nor, obviously, did you guess correctly how this drawing surface work (I thought it would be obvious, I am obviously wrong D'Oh! | :doh: )

Anyway, could we please stop wasting time?
How about wondering how to auto-width that instead?
XML
<Grid>
  <RichTextBlock HorizontalAlignment="Center" Width="0"/>
</Grid>

Gerry Schmitz wrote:
Content does NOT "stretch" the edit box (that's why it has scroll bars); the "available space" does; depending on the alignment settings.

Indeed, that's why I gave up on the RTB and decided to use a TextBox instead, glad we agree.
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!


modified 13-Dec-21 21:04pm.

GeneralRe: About RichTextBox size in a canvas Pin
Gerry Schmitz14-Dec-21 7:28
mveGerry Schmitz14-Dec-21 7:28 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd14-Dec-21 12:28
Super Lloyd14-Dec-21 12:28 
AnswerRe: About RichTextBox size in a canvas Pin
Mycroft Holmes13-Dec-21 13:16
professionalMycroft Holmes13-Dec-21 13:16 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd13-Dec-21 13:27
Super Lloyd13-Dec-21 13:27 
AnswerRe: About RichTextBox size in a canvas Pin
#realJSOP14-Dec-21 0:37
mve#realJSOP14-Dec-21 0:37 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd14-Dec-21 0:52
Super Lloyd14-Dec-21 0:52 
GeneralRe: About RichTextBox size in a canvas Pin
#realJSOP14-Dec-21 8:42
mve#realJSOP14-Dec-21 8:42 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd14-Dec-21 12:26
Super Lloyd14-Dec-21 12:26 
GeneralRe: About RichTextBox size in a canvas Pin
#realJSOP14-Dec-21 23:49
mve#realJSOP14-Dec-21 23:49 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd15-Dec-21 0:02
Super Lloyd15-Dec-21 0:02 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd15-Dec-21 0:24
Super Lloyd15-Dec-21 0:24 
GeneralRe: About RichTextBox size in a canvas Pin
#realJSOP16-Dec-21 2:42
mve#realJSOP16-Dec-21 2:42 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd16-Dec-21 2:55
Super Lloyd16-Dec-21 2:55 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd14-Dec-21 2:10
Super Lloyd14-Dec-21 2:10 
QuestionWPF Converter Set or Library Pin
michaelbarb10-Dec-21 9:35
michaelbarb10-Dec-21 9:35 
AnswerRe: WPF Converter Set or Library Pin
Gerry Schmitz10-Dec-21 10:04
mveGerry Schmitz10-Dec-21 10:04 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb10-Dec-21 11:14
michaelbarb10-Dec-21 11:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.