You can use the ActualWidth or ActualHeight elements to get the width / height of the elements. This answer describes the difference between "ActualWidth" and "Width".
So, in the example above, this would be:
Double width = tip.basis.ColumnDefinitions[0].ActualWidth;
And also keep in mind that WPF uses device independent pixels, as described in this answer .
source share