CVB.Net 14.1
MeasureLine Class Reference

Defines a measure line with display of the control's width/height. May be used inside a grid to display another control's extent. More...

Inherits UserControl.

Public Member Functions

 MeasureLine ()
 ctor
 

Static Public Attributes

static readonly DependencyProperty PlacementProperty
 Backing dependency property.
 
static readonly DependencyProperty ValueProperty
 Backing dependency property.
 
static readonly DependencyProperty ValueSourceProperty
 Backing dependency property.
 

Static Protected Member Functions

static void OnPlacementChanged (DependencyObject d, DependencyPropertyChangedEventArgs e)
 React to property changes. More...
 
static void OnValueSourceChanged (DependencyObject d, DependencyPropertyChangedEventArgs e)
 React to property changes. More...
 

Static Protected Attributes

const MeasureLinePlacement PlacementDefault = MeasureLinePlacement.Top
 Default value.
 
const MeasureLineValueSource ValueSourceDefault = MeasureLineValueSource.ActualSize
 Default value
 

Properties

MeasureLinePlacement Placement [get, set]
 Placement of the measure line relative to the object that is being measured.
 
double Value [get, set]
 Value to display in the text box. Set ValueSource property accordingly to select what value to display.
 
MeasureLineValueSource ValueSource [get, set]
 Value source to use for the size indicator of the measure line.
 

Detailed Description

Defines a measure line with display of the control's width/height. May be used inside a grid to display another control's extent.

Member Function Documentation

◆ OnPlacementChanged()

static void OnPlacementChanged ( DependencyObject  d,
DependencyPropertyChangedEventArgs  e 
)
staticprotected

React to property changes.

Parameters
dDependency object on which the change occurred.
eChange event arguments.

◆ OnValueSourceChanged()

static void OnValueSourceChanged ( DependencyObject  d,
DependencyPropertyChangedEventArgs  e 
)
staticprotected

React to property changes.

Parameters
dDependencyObject on which the change occurred.
eChange event arguments.