Click here to Skip to main content
15,559,819 members
Home / Discussions / WPF
   

WPF

 
QuestionTextBox Bound To Decimal - Can't Type Decimal Pin
Kevin Marois28-Dec-21 9:29
professionalKevin Marois28-Dec-21 9:29 
AnswerRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Mycroft Holmes28-Dec-21 11:05
professionalMycroft Holmes28-Dec-21 11:05 
GeneralRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Kevin Marois28-Dec-21 11:25
professionalKevin Marois28-Dec-21 11:25 
GeneralRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Super Lloyd16-Jan-22 7:45
Super Lloyd16-Jan-22 7:45 
GeneralRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Mycroft Holmes16-Jan-22 11:55
professionalMycroft Holmes16-Jan-22 11:55 
GeneralRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Eddy Vluggen9-Feb-22 3:40
professionalEddy Vluggen9-Feb-22 3:40 
GeneralRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Super Lloyd9-Feb-22 13:10
Super Lloyd9-Feb-22 13:10 
GeneralRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Eddy Vluggen9-Feb-22 13:13
professionalEddy Vluggen9-Feb-22 13:13 
AnswerRe: TextBox Bound To Decimal - Can't Type Decimal Pin
Richard Deeming4-Jan-22 1:04
mveRichard Deeming4-Jan-22 1:04 
QuestionSetting DataGrid Cell Style From Code Behind Pin
Kevin Marois20-Dec-21 11:56
professionalKevin Marois20-Dec-21 11:56 
AnswerRe: Setting DataGrid Cell Style From Code Behind Pin
#realJSOP22-Dec-21 3:06
mva#realJSOP22-Dec-21 3:06 
QuestionInput Question Pin
Super Lloyd19-Dec-21 5:17
Super Lloyd19-Dec-21 5:17 
AnswerRe: Input Question Pin
#realJSOP19-Dec-21 23:26
mva#realJSOP19-Dec-21 23:26 
GeneralRe: Input Question Pin
Super Lloyd20-Dec-21 0:05
Super Lloyd20-Dec-21 0:05 
GeneralRe: Input Question Pin
#realJSOP20-Dec-21 0:18
mva#realJSOP20-Dec-21 0:18 
GeneralRe: Input Question Pin
Super Lloyd20-Dec-21 0:23
Super Lloyd20-Dec-21 0:23 
Question(Advanced?) Layout question Pin
Super Lloyd17-Dec-21 21:02
Super Lloyd17-Dec-21 21:02 
QuestionAbout RichTextBox size in a canvas Pin
Super Lloyd12-Dec-21 2:23
Super Lloyd12-Dec-21 2:23 
AnswerRe: About RichTextBox size in a canvas Pin
Richard Deeming12-Dec-21 22:49
mveRichard Deeming12-Dec-21 22:49 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd12-Dec-21 22:58
Super Lloyd12-Dec-21 22:58 
AnswerRe: About RichTextBox size in a canvas Pin
Gerry Schmitz13-Dec-21 8:22
mveGerry Schmitz13-Dec-21 8:22 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd13-Dec-21 12:42
Super Lloyd13-Dec-21 12:42 
GeneralRe: About RichTextBox size in a canvas Pin
Gerry Schmitz13-Dec-21 15:28
mveGerry Schmitz13-Dec-21 15:28 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd13-Dec-21 15:40
Super Lloyd13-Dec-21 15: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 8:28
mveGerry Schmitz14-Dec-21 8:28 

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.