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
0
votes
1 answer
WPF: What's the right way to make a UIElement visible right at the moment when a storyboard begins
I'm trying out a simple animation of pictures sliding in on top of each other, the problem is, I don't know when to set the visibility of the new picture that slides in. I don't wanna show the picture on top until the animation starts. The sequence…

black eyed pea
- 427
- 1
- 7
- 16
0
votes
1 answer
How to use UIElement[] CreateLabels method in NumericLabelProviderBase class to insert label or text in a point inside plotter
I'm tring to override CreateLabels to insert labels or text in specific points in plotter chart but I need a help in:
1. what does the parameter (ITicksInfo ticksInfo) mean and what should I send to it
2. how to use the return value to add…

Khaleel Hmoz
- 987
- 2
- 13
- 24
0
votes
1 answer
How to make My UIControl subclass as superclass of programmatically created UIElements?
In my application I want to associate NSMutableDictionary to all UIElements (UIButton, UILable, etc), I can easily achieve this by subclassing each element, but I just want to know if I can make my own UIControl subclass -with a property of type…

vignesh kumar
- 2,310
- 2
- 25
- 39
0
votes
1 answer
any performance difference or better code reuse between tagging a UIElement or subclassing a control?
I'm wondering if there is any difference between these two approaches of setting properties on a UITableViewCell.
Option A:
In your storyboard file, on your UITableViewCell, drag your UIElements onto the UITableViewCell, tag each UIelement. Then…

Crystal
- 28,460
- 62
- 219
- 393
0
votes
1 answer
Databinding where the data is of type UIElement
I have a DataGrid bound to a collection view model. The element view model has a property called UI of type UIElement. The scenario is that I want the generated UIElement to be bound.
So for example (imaginary toy example), say the UIElement is a…

Bent Rasmussen
- 5,538
- 9
- 44
- 63
0
votes
1 answer
transforming the Clip of a UIElement
I am using C#, Silverlight, Visual Studio for Windows Phone 7.
I would like to get the Clip of a UIElement that includes any transform that has been done on the UIElement.
This example gives me the Clip but does not include any transform from the…

joulesm
- 642
- 1
- 6
- 28
0
votes
1 answer
multiple geometry clips on a UIElement
I am using C#, Silverlight, Visual Studio for Windows Phone 7.
Is there a way to give a UIElement multiple Geometry clips? Something equivalent to:
Path myPath = new Path();
myPath.Data = myRectangle; // say of size 100x100
myPath.Clip = myClipRect;…

joulesm
- 642
- 1
- 6
- 28
0
votes
2 answers
How to get the Left,Top,Right,Bottom point of a UIElement in WPF?
I want to find the Left,Top,Right,Bottom of an UIElement. I tried but failed with no result.
Can anyone here have any idea how to get these?
Actually, I am creating a custom panel in WPF.
I dont want to inherit from Canvas.
Size elemSize =…

Kishore Kumar
- 12,675
- 27
- 97
- 154
0
votes
1 answer
UIElements placement for universal app compatible with iPhone 5
I have lot of UiImageViews on my UIView and I create/place them differently based on Ipad or iPhone co-ordinates. Here is my current logic to create Frames for these UIImageViews
- (void)setAnimationFrame:(NSString *)imageName iPadFrameX:(int)iPadX…

Alex
- 833
- 3
- 15
- 28
0
votes
1 answer
iOS modify the layer of a UIElements that are created with IB
In my app, I would like to create a custom UIElement, in my case a UITextView with rounded corners and border color and everything. however I can only do it if I create the UITextView from code and add it to a view with the addSubView method.…

Zoltan Varadi
- 2,468
- 2
- 34
- 51
0
votes
1 answer
Geometry HitTest UIElement in WPF
Is there anyway to hit test an uielement using Geometry in WPF? I tried VisualTreeHelper, but it doesn't work. UIElement could raise mouse down event if a the mouse click on it with a point.
However, I would like to raise an event if a geometry…

user1184598
- 449
- 1
- 5
- 11
0
votes
2 answers
Creating UIElements outside Ui thread, Silverlight
In my silverlight 4.0 application, at one point, after user pushes a button, I have to create few UI objects that take some time (5-10seconds). During this time UI freezes of course. I decided to put creation of those objects in a background worker…

grabah
- 165
- 2
- 16
0
votes
3 answers
Update UIElement from AsycTask
I want to Update Text View ,spinner from AsycTask.Actually what i am doing
I Take the data from server and result return in json form then i parse JSON and populate the data in two Spinner and one textview.How can i update data when i am using…

saqibabbasi
- 423
- 1
- 5
- 9
0
votes
1 answer
Best practices for custom UITableViewCell for catch UIElements notifications
I have a view with a table View. I has subclassed TableViewCells to make a representation of an object of my model. This Custom UITableViewCell has two buttons to change my object of the model(it makes +1 -1 to an instance variable).
So I think of…

Jpellat
- 907
- 7
- 29
0
votes
2 answers
Serialization Silverlight XML UIElement
I am trying to reach this goal: save the state of the Silverlight app to the isolateduserstorage, in order to reload it on the next startup. I need to store a List ObservableCollection, the UIElements are created by a factory (actually I…

SWEapprentice
- 11
- 3