Click here to Skip to main content
15,311,191 members
Home / Discussions / WPF
   

WPF

 
Question(Advanced?) Layout question Pin
Super Lloyd17-Dec-21 20:02
MemberSuper Lloyd17-Dec-21 20:02 
QuestionAbout RichTextBox size in a canvas Pin
Super Lloyd12-Dec-21 1:23
MemberSuper 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
MemberSuper 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
MemberSuper 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
MemberSuper 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
MemberSuper 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
MemberSuper Lloyd13-Dec-21 13:27 
AnswerRe: About RichTextBox size in a canvas Pin
#realJSOP14-Dec-21 0:37
mva#realJSOP14-Dec-21 0:37 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd14-Dec-21 0:52
MemberSuper Lloyd14-Dec-21 0:52 
GeneralRe: About RichTextBox size in a canvas Pin
#realJSOP14-Dec-21 8:42
mva#realJSOP14-Dec-21 8:42 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd14-Dec-21 12:26
MemberSuper Lloyd14-Dec-21 12:26 
GeneralRe: About RichTextBox size in a canvas Pin
#realJSOP14-Dec-21 23:49
mva#realJSOP14-Dec-21 23:49 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd15-Dec-21 0:02
MemberSuper Lloyd15-Dec-21 0:02 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd15-Dec-21 0:24
MemberSuper Lloyd15-Dec-21 0:24 
GeneralRe: About RichTextBox size in a canvas Pin
#realJSOP16-Dec-21 2:42
mva#realJSOP16-Dec-21 2:42 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd16-Dec-21 2:55
MemberSuper Lloyd16-Dec-21 2:55 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd14-Dec-21 2:10
MemberSuper Lloyd14-Dec-21 2:10 
QuestionWPF Converter Set or Library Pin
michaelbarb10-Dec-21 9:35
Membermichaelbarb10-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
Membermichaelbarb10-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.