Impact of Gen-AI on IT Jobs - Growth Mindset Show
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
What is MarkUpExtension in WPF?
Pradeep Yadav
8y
247
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
Markup extension resolve value of a property at runtime. These are dynamic placeholder for attribute values in XAML. They are surrounded by curly braces (i.e {}) like StaticResource NormalBackgorundBrush}”. First identifier within a pair of curly braces is the name of extension. And all preceding are the named parameter in the form of Property=Value. Below are some of build in mark up extension ? Binding : For binding values of two properties ? TemplateBinding : For binding a control template to dependency property f control ? DynamicResource: For Auto updating lookup of resource entry ? StaticResoure: For one time lookup of resource entry ? X:Null : For returning Null ? X:Static: for resolving value of static property Example
Now if you type text into textbox , as the text property changes , the bining mark up exntsion automatically updated the content of label.
Pradeep Yadav
8y
0
What is Implicit Type conversion in WPF?
What is Attached Properties in WPF?
Message