actualheight
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 分类:问答ActualHeight binding does not update
I am trying to set up a binding to the ActualHeight of a FrameworkElement. It only seems to update once, but never updates after that. I tested this in a simple silverlight application with this marku[详细]
2023-03-05 08:41 分类:问答ScrollViewer's Viewport Height VS Actual Height [duplicate]
This question already has answers here: 开发者_如何学JAVA WPF DataGrid : CanContentScroll property causing odd behavior[详细]
2023-02-27 03:26 分类:问答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 分类:问答Bind to ActualHeight of Item ItemsControl
I have two separate ItemsControls that appear side by s开发者_高级运维ide.The ItemsControls bind to the same ItemsSource, but they display the data differently.[详细]
2023-02-12 10:09 分类:问答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 分类:问答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 分类:问答Binding position to ActualHeight
I want to bind a lists position to its own height in XAML. So its lower left corner always will be at 0.0 of the canvas. I\'m using elementBinding to get the ActualHeight and a converter to invert the[详细]
2022-12-30 22:14 分类:问答