I need to search a WPF control hierarchy for controls that match a given name or type. How can I do this?
Try this
Hai Welcom to this page
Code Behind
var txtblock = sender as Textblock; txtblock.Foreground = "Red"