actualwidth
Binding issue ActualWidth on dynamic filled Grid
Consider the following, simple code: XAML: <Grid Height=\"60\" Name=\"grid\"> <Grid.ColumnDefinitions>[详细]
2023-04-04 18:31 分类:问答Overriding ActualWidth and ActualHeight dependency properties
I have a custom line shape with start and end point. The ActualWidth and ActualHeight properties however do not return the correct value, that is the difference between the points. Is there a way to o[详细]
2023-03-31 01:22 分类:问答getting the size of the combobox's popup at runtime
I am trying to get the width and height of a Silverlight ComboBox\'s dropdown window. Unfortunately ActualWidth 开发者_JS百科and ActualHeight are returning 0 always.<ComboBox x:Name=\"comboBox\" He[详细]
2023-02-25 21:19 分类:问答Determining the size of a UIElement in Silverlight
I have a StackPanel containing a number of UIElements (which have been constructed using a template in from a XAML file) that I wish to display.[详细]
2023-02-10 20:56 分类:问答DevExpress BaseLayoutItem Size
In WPF how can I find the size of a DevExpress BaseLayoutItem? It开发者_如何学Python inherits from ContentElement so has no ActualHeight or ActualWidth.We will post the answer to this question at:[详细]
2023-02-05 14:13 分类:问答Why ActualWidth and ActualHeight start from 0,0?
I want to add WPF Path to InkCanvas and use selection to select WPF Path. So, I use this code. System.Windows.Shapes.Path path = drawCanvas.Children[i] as System.Windows.Shapes.Path;[详细]
2023-02-02 18:48 分类:问答WPF ActualWidth is zero
I have a user control which has a Canvas of height 100 and width 1920. At the loading of the control, I go to an external source, download a text file and add TextBlocks to the Canvas. Then I want to[详细]
2023-01-31 09:14 分类:问答How to bind a read-only WPF control property (eg ActualWidth) so its value is accessible in the view model? [duplicate]
This question already has answers here: Pushing read-only GUI properties back into ViewModel (6 answers)[详细]
2023-01-30 06:08 分类:问答silverlight NaN height and width, ActualHeight and ActualWidth also return 0.0 - what is the workaround?
popUpControl and listBoxControl below are returning NaN as the height and width. The ActualHeight is also 0.0[详细]
2023-01-24 03:16 分类:问答Binding to ActualHeight does not work
I tried to create a custom control, having a semitransparent rounded background: <Canvas> <TextBlock x:Name=\"StopText\" Text=\"Some test text\"/>[详细]
2023-01-17 05:44 分类:问答