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 rendered? I currently have a routine that creates a Grid from a DataTable and then adds the Grid into a Fixed[详细]
2023-02-08 04:14 分类:问答How to get current position of UIElement within its parent?
Lets say I have this XAML code: <StackPanel Name=\"pan\"> <Button Name=\"but1\" Content=\"Helllo\" />[详细]
2023-02-05 10:22 分类:问答How can I find an UIElement using Linq?
I am trying like this, but I get only the first level textbox. How do I query and get all the textboxes[详细]
2023-02-03 08:01 分类:问答Adding and removing WPF UIElements at runtime
Is there a way to logically group or tag UIElements like shapes and controls added at runtime for easy removal?[详细]
2023-01-31 01:40 分类:问答Cocoa status bar (UIElement) app settings window
I got it all working, but when i click on the settings, the settings windo开发者_高级运维w (in nswindowcontroller) opens up on the back of other apps running on my mac. I want it in the front so user[详细]
2023-01-30 10:19 分类:问答WPF - Determining if Mouse Is Over a UIElement
I have some xaml markup that looks essentially like this: <Canvas x:Name=\"A\"> <Canvas x:Name=\"B\"/>[详细]
2023-01-28 14:02 分类:问答At what stage in the life-cycle of Silverlight UIElements do existing Bindings get removed?
I\'m trying to wo开发者_如何学Pythonrk out why some of my Silverlight controls are staying in memory. I\'ve noticed that when I navigate away from a page with the controls on, there remain referential[详细]
2023-01-27 15:09 分类:问答WPF: DataBinding a PointCollection for a custom UIElement
I\'m trying to make a WPF UIElement that does some special rendering. The problem is that I can\'t get databinding to work for a PointCollection.Inside OnRender() of the GraphElement, the Points prop[详细]
2023-01-27 11:37 分类:问答LINQ to delete UIElement in SilverLight Children
fo开发者_StackOverflow社区reach (UIElement el in GridBoard.Children.ToList()) { if (el is Ellipse)[详细]
2023-01-24 03:03 分类:问答Render of UIElement Causes App To Hang For Several Seconds
I have a WPF application - using MVVM for the design pattern. In the Main View, there is a ContentPresenter that is bound to a property in the corresponding ViewModel.I have type-referential DataTemp[详细]
2023-01-23 12:19 分类:问答