You can toggle the visibility of DocumentRuler using the Visibility property that the control inherits from UIElement.
As for the measurement unit that the ruler uses, it can be set through the dependency property MeasurementUnit, which accepts values from the enumeration UnitTypes.
I hope this helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>