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.
Questions tagged [uielement]
404 questions
1
vote
2 answers
I can't get ActualSize of an UIElement
I have an Image control, generated in runtime. It renders correct size when displaying. But I can't get size of that element. Width and Height is NaN. ActualWidth and ActualHeight is always 0.0 and control never fires SizeChanged event.
I'm also…

Medeni Baykal
- 4,223
- 1
- 28
- 36
1
vote
0 answers
How to Inspect Style attributes (Font, Color codes, paddings, etc.) of a mobile app which built using Flutter?
In a flutter Mobile application, I need to check the style attributes of each screen. But, I'm unable to inspect it using the android studio layout inspector. It shows a blank screen when we inspect the app. (But it works well with other hybrid…

WarunaDev
- 23
- 4
1
vote
2 answers
Apply static resource style to UIElement created in converter
I am binding the ItemsSource of an ItemsControl to a Textbox and then using a converter to create UIElement objects based on the Text property of the Textbox. I also have a static resource style that I want to apply to the elements I create.
The…

N_A
- 19,799
- 4
- 52
- 98
1
vote
1 answer
Flip a UIElement but preserve text inside from flipping
I think the title is pretty straightforward. I'm using some custom controls. I want to flip the tab header of a custom tab control. I tried a layout transform (ScaleTransform X = -1) to flip horizontally the tab header. But obviously I want the text…

muku
- 238
- 1
- 7
- 20
1
vote
6 answers
control to interchange UIElements in WPF
What is the most minimal way to dynamically interchange UIElements at a certain "slot" on the UI? I have a number of UIElements and based on some external databinding (e.g. a combobox selection) I want one of them to be shown and the one that was…

bitbonk
- 48,890
- 37
- 186
- 278
1
vote
2 answers
Programmatically force validation on Silverlight 3 UIElement (Textbox)
Is there an easy to to programmatically force a uielement to validate in Silverlight 3?
I have a textbox where i bind a Silverlight.Validators.RegexValidator to, unfortunately the validator checks against another uielements content (combobox).…

Jerrold
- 1,534
- 6
- 25
- 43
1
vote
1 answer
How can I programmatically add uielements to canvas in Silverlight 4?
How can I programmatically add UIElements to canvas in Silverlight 4?
But nothing happens. When I check for the existence of the image it is there
but nothing shows.
wtf?
Button btn = new Button();
btn.Content = "Button";
Canvas.SetLeft(btn,…

marko
- 10,684
- 17
- 71
- 92
1
vote
0 answers
Need to focus the grid which placed inside the Scroll Viewer on Mouse Click
I need to focus the Grid(UI Element) when it is placed inside the Scroll viewer.
Code:

Magesh Maggi
- 269
- 2
- 10
1
vote
2 answers
WPF - How to get my Panel to see if a DependencyProperty is set on my child when they are UIElements?
Basically, during my MeasureOverride I want to check to see if my child element has a certain property set on it regardless of what type of item it is.
public override Size MeasureOverride(Size availableSize)
{
foreach (UIElement child in…

michael
- 14,844
- 28
- 89
- 177
1
vote
2 answers
vuejs2 el-table-column column prop with computed value
I'm new in vuejs. I don't see how to use a "computed" value in a table of the ui-element librairy. Here is how I tried ..
…
Commandes en cours

GRB73
- 11
- 1
- 4
1
vote
1 answer
UIElement was removed from the canvas.Children collection, but it still drawn. Why is this?
I try to remove an UIElement from the Canvas. But although it is removed from the canvas.Children collection, is still remains drawn on the canvas.
Do you know any solution to this problem?

Ryan
- 5,456
- 25
- 71
- 129
1
vote
1 answer
collapse UIElements in Silverlight LOB application based upon data in model
Within a form I have a user control for each field being returned. The control consists of a label and a texblock within a stack panel. This control is part of a datatemplate that makes up my form which is comprised of a wrap panel which contains…

rlcrews
- 3,482
- 19
- 66
- 116
1
vote
1 answer
In Unity UIElements, what is the equivalent to 'Scale with ScreenSize' of UGUI Canvas Scaler?
If I want to make my UI gameobjects stay the same size and position on all devices when I use UGUI in Unity3D, I simply set UI Scale Mode to Scale with Screen Size in Canvas Scaler. But now Unity3D switches to UIElements system, not only for Editor,…

solidcomer
- 419
- 6
- 18
1
vote
0 answers
Is there a way to save the visual of a UserControl containing a chart as a vector graphics file?
I need to save a chart made in a WPF UserControl in a vector graphics file format.
What I have tried until now was to get a hold of the UIElement (the User Control) containing the chart, and save that as a .wmf file. I know that WPF renders the…

UabasIerdna
- 23
- 2
1
vote
2 answers
How to loop through UIElement in a List?
I have a List that contains a Canvas which contains also some UIElement as follow:
List

KMC
- 19,548
- 58
- 164
- 253