Top "Uielement" questions

UIElement is a base class for most of the objects that have visual appearance and can process basic input as part of the user interface.

WPF Screenshot JPG from UIElement with C#

I'm trying to create a JPG from part of my WPF Applications. Like a screenshot, only of individual UIElements. I …

c# wpf wpf-controls screenshot uielement
Why are radio buttons called 'radio' buttons?

I was thinking about my first contact with html language and I remembered when I was looking for that specific …

user-interface radio-button history uielement
WPF Toggle visibility of UIElements in DataTemplate

I have a DataTemplate defined as follows <DataTemplate x:Key="PasswordViewerTemplate"> <StackPanel> <TextBlock Text="{Binding …

c# wpf xaml datatemplate uielement
Generate BitmapSource from UIElement

I am attempting to generate a BitmapFrame that is based on a UIElement. Here is my function: private BitmapFrame RenderToBitmap2() { …

c# wpf bitmap drawing uielement
WPF - Get size of UIElement in Memory?

Is there a way to get the size of a UIElement that resides in memory and has not yet been …

wpf wpf-controls size uielement
Get height and width of UIElement?

I currently create a class which inherits from a Popup. Finally it will be used to show the user a …

c# wpf height width uielement