Version

SetMajorMinorUnit Method

Sets the values of the MajorUnit and MinorUnit properties.
Syntax
public void SetMajorMinorUnit( 
   double majorUnit,
   double minorUnit
)

Parameters

majorUnit
The new value for the MajorUnit property.
minorUnit
The new value for the MinorUnit property.
Remarks

The value of the majorUnit parameter must exceed the value of the minorUnit parameter or an exception is thrown.

Typically the value of majorUnit is an exact multiple of minorUnit; for example, for 5 minor units per major unit, set majorUnit to 1 and minorUnit to .2.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also