How can you set a property attribute as a literal string and not a mark up extension?
Answer / Pawan Prajapati
To set a property attribute as a literal string without using a markup extension, enclose the value in double quotes (e.g., `<Button Content="Hello World" />`). If the string contains double quotes, escape them with another double quote (e.g., `<Button Content="A "Quoted" String" />`).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between dynamicresource and staticresource?
Explain wpf relative binding/ relative resource?
Name the namespace required for working with 3d?
Is x:static the same as a data binding?
Why do we need xaml in wpf?
What are the controls and events in WPF?
What are the different ways of binding using relative source?
What are the advantage of mvvm?
What is the use of "system.windows.markup" namespace in wpf?
What are the core wpf assemblies?
How to add windows form in wpf application?
What is the unit of measurement in WPF?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)