Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    BeforeMeasurementEventArgs Class

    Provides data for the BeforeMeasurement event.

    Namespace: DevExpress.XtraMap

    Assembly: DevExpress.XtraMap.v25.1.dll

    NuGet Package: DevExpress.Win.Map

    #Declaration

    public class BeforeMeasurementEventArgs :
        CancelEventArgs

    #Remarks

    A BeforeMeasurementEventArgs object is automatically created, initialized, and passed to the Measurements.BeforeMeasurement event’s handler.

    Use the BeforeMeasurementEventArgs.StartPoint object to get the new ruler’s first point and the BeforeMeasurementEventArgs.RulerType property to determine the ruler’s type. To get ruler style settings, use the BeforeMeasurementEventArgs.Style property.

    #Inheritance

    Object
    EventArgs
    CancelEventArgs
    BeforeMeasurementEventArgs
    See Also