This is my c# code: and the xaml file is this: The label's text at the moment of running is this: height: 0 New Height: 0 but for more ...
This is my c# code: and the xaml file is this: The label's text at the moment of running is this: height: 0 New Height: 0 but for more ...
I'm making a user control for a data grid. This data grid has some old and new entries. It is required that the new entries are shown at the top of th ...
newbie to xaml here. I have a question for you all. I have a UserControl called "ResourceMonitor" and I am trying to make sure that when its surroun ...
I have the following code: Xaml ViewModel I'm trying to get the dimensions of both the original Canvas and the new Canvas because I want to cop ...
I'm trying to animate element height with ReactCSSTransitionGroup, so this is what I would want the animation looks like: http://jsfiddle.net/cherrry ...
In my MainPage. I have a Grid with 1 row, and 2 columns. Both columns have a StackPanel each. The left column StackPanel has an "Add" button (so it ha ...
I have defined a Grid in XAML like, which is also a part of the other defined grids in xaml file. In C# file in Constructor, after line Initiali ...
I have a Button containing a Grid inside: When Button is clicked, Grid should be collapsed to display only the text in the first row. And this part ...
Cannot determine Height or ActualHeight of the following: txtLoading gives a height of ~12 statusCounter the Border has an ActualHeight of 2. The ...
We were working on a WPF application project, and the 'about 1px problem' puzzled us a lot. Finally, we guess maybe the problem about Width and Actua ...
I'm trying to get the width & height of a element with jQuery. Now I have a function that wraps a span around the element and gets the size from t ...
How do I force a Window to measure its controls in the constructor so the values of ActualWidth and ActualHeight aren't zero? Here is the sample demon ...
I have an application that contains several instances of a Grid that inherits from an Abstract class extending UserControl like this: and the class ...
I have a Win8 app with a custom control, GameView, which I have instantiated three times (as gvMap, gvOurBase, and gvEnemyBase) on my page, and placed ...
I need to generate a printed form using XAML that has a header grid and a variable number of rows that can result in multiple pages as the number of r ...
I have two borders in a Grid in a UserControl. First border is in row one and second border is is in row two. I am dynamically binding values to ro ...
I have a class that extends a Canvas. On creation I explicitly set its width to a value: Now I add instances of this to a canvas to another canvas ...
I have a Canvas with a TextBlock like so: My app is such that when the user navigates to this page, the TextBlock will be centered in the Canvas an ...
I am trying to bind an image's Width to its ActualHeight (height is determined by layout and I want it to be square - if there's a better way of doing ...
In my application, we have a view model object from which we're retrieving its attached FrameworkElement using our custom function GetVisualChildWithD ...