StructZoomRange
Represents zoom range.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
[TypeConverter(typeof(ZoomRangeConverter))]
public struct ZoomRange
Constructors
ZoomRange(double, double)
Initializes a new instance of the ZoomRange struct.
Properties
Empty
Gets a value that represents an empty ZoomRange structure.
Declaration
public static ZoomRange Empty { get; }
Property Value
Remarks
A ZoomRange structure with Min and Max values set to 0 is not empty. An empty ZoomRange structure has Min and Max values set to negative infinity. This is the only time a ZoomRange structure can have negative infinity values.
IsEmpty
Gets a value that indicates whether this ZoomRange structure is empty.
Declaration
public bool IsEmpty { get; }
Property Value
Remarks
A ZoomRange structure with Min and Max values set to 0 is not empty. An empty ZoomRange structure has Min and Max values set to negative infinity. This is the only time a ZoomRange structure can have negative infinity values.
Max
Gets or sets end value of the range.
Methods
Equals(ZoomRange, ZoomRange)
Compares two ZoomRange structures for equality.
Equals(object)
Compares two ZoomRange structures for equality.
GetHashCode()
Gets a hash code for this ZoomRange structure.
Declaration
public override int GetHashCode()
Returns
A hash code for this ZoomRange structure.
Overrides
InRange(double)
Check whether given double value is in range.
Parse(string)
Converts a String representation of a Min-Max into the equivalent ZoomRange object.
ToString()
Creates a String representation of this ZoomRange object.
Declaration
public override string ToString()
Returns
A String containing the Min and Max values of this ZoomRange object.
Overrides
ToString(IFormatProvider)
Creates a String representation of this ZoomRange object.
Declaration
public string ToString(IFormatProvider provider)
Parameters
provider
The culture-specific formatting information.
Returns
A String containing the Min and Max values of this ZoomRange object.
Operators
operator !=(ZoomRange, ZoomRange)
Compares two ZoomRange structures for inequality.
operator ==(ZoomRange, ZoomRange)
Compares two ZoomRange structures for equality.