Click here to Skip to main content
15,167,925 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Using custom fonts in WPF project Pin
#realJSOP12-Nov-21 5:22
mva#realJSOP12-Nov-21 5:22 
GeneralRe: Using custom fonts in WPF project Pin
Alex Dunlop13-Nov-21 9:05
MemberAlex Dunlop13-Nov-21 9:05 
GeneralRe: Using custom fonts in WPF project Pin
#realJSOP14-Nov-21 1:14
mva#realJSOP14-Nov-21 1:14 
GeneralRe: Using custom fonts in WPF project Pin
Alex Dunlop14-Nov-21 18:29
MemberAlex Dunlop14-Nov-21 18:29 
GeneralRe: Using custom fonts in WPF project Pin
#realJSOP15-Nov-21 0:25
mva#realJSOP15-Nov-21 0:25 
GeneralRe: Using custom fonts in WPF project Pin
Dave Kreskowiak15-Nov-21 2:43
mveDave Kreskowiak15-Nov-21 2:43 
QuestionCommon StackPanel being used in two places, with Horizontal and Vertical Orientations Pin
Amarnath S4-Nov-21 4:20
professionalAmarnath S4-Nov-21 4:20 
AnswerRe: Common StackPanel being used in two places, with Horizontal and Vertical Orientations Pin
Gerry Schmitz4-Nov-21 6:36
mveGerry Schmitz4-Nov-21 6:36 
Use the .Tag property of the user control (UC) to pass the orientation ("H" or "V") to the UC's Loaded event.

Then set the orientation of the stack panel based on the value of .Tag in the UC's Loaded event.
C#
string tag = this.Tag as string;

xxx.Orientation = (tag == "H") ? Orientation.Horizontal : Orientation.Vertical;
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food

GeneralRe: Common StackPanel being used in two places, with Horizontal and Vertical Orientations Pin
Amarnath S4-Nov-21 7:48
professionalAmarnath S4-Nov-21 7:48 
GeneralRe: Common StackPanel being used in two places, with Horizontal and Vertical Orientations Pin
Gerry Schmitz4-Nov-21 11:20
mveGerry Schmitz4-Nov-21 11:20 
QuestionVB.net - WPF - Help with treeview Pin
Lasse Frederiksen31-Oct-21 21:55
MemberLasse Frederiksen31-Oct-21 21:55 
AnswerRe: VB.net - WPF - Help with treeview Pin
Richard Deeming1-Nov-21 0:11
mveRichard Deeming1-Nov-21 0:11 
GeneralRe: VB.net - WPF - Help with treeview Pin
Lasse Frederiksen1-Nov-21 0:44
MemberLasse Frederiksen1-Nov-21 0:44 
GeneralRe: VB.net - WPF - Help with treeview Pin
Richard Deeming1-Nov-21 2:27
mveRichard Deeming1-Nov-21 2:27 
QuestionDataGridCell Style Problem Pin
Kevin Marois25-Oct-21 12:20
professionalKevin Marois25-Oct-21 12:20 
QuestionWPF MVVM Modeless Dialogs - any Example? Pin
Amarnath S23-Oct-21 22:08
professionalAmarnath S23-Oct-21 22:08 
AnswerRe: WPF MVVM Modeless Dialogs - any Example? Pin
Gerry Schmitz24-Oct-21 10:22
mveGerry Schmitz24-Oct-21 10:22 
GeneralRe: WPF MVVM Modeless Dialogs - any Example? Pin
#realJSOP10-Nov-21 0:24
mva#realJSOP10-Nov-21 0:24 
AnswerRe: WPF MVVM Modeless Dialogs - any Example? Pin
#realJSOP10-Nov-21 0:30
mva#realJSOP10-Nov-21 0:30 
QuestionHow do I create xy plots with WPF APP (.NET Framework)? --- Solved Pin
Member 1539432815-Oct-21 6:12
MemberMember 1539432815-Oct-21 6:12 
AnswerRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Richard Deeming15-Oct-21 7:05
mveRichard Deeming15-Oct-21 7:05 
AnswerRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Gerry Schmitz15-Oct-21 10:23
mveGerry Schmitz15-Oct-21 10:23 
GeneralRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Member 1539432815-Oct-21 10:28
MemberMember 1539432815-Oct-21 10:28 
GeneralRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Gerry Schmitz15-Oct-21 11:03
mveGerry Schmitz15-Oct-21 11:03 
GeneralRe: How do I create xy plots with WPF APP (.NET Framework)? Pin
Member 1539432816-Oct-21 2:40
MemberMember 1539432816-Oct-21 2:40 

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.