skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class LocationRect

Inheritance
System.Object
LocationRect
Namespace: Telerik.UI.Xaml.Controls.DataVisualization.Map
Assembly: Telerik.WinUI.Controls.dll

Syntax

public sealed class LocationRect : ValueType

Constructors

LocationRect(Double, Double, Double, Double)

Declaration
public LocationRect(double north, double west, double width, double height)
Parameters
System.Double north

System.Double west

System.Double width

System.Double height

LocationRect(Location, Location)

Declaration
public LocationRect(Location location1, Location location2)
Parameters
Location location1

Location location2

Properties

Center

Declaration
public Location Center { get; }
Property Value
Location

East

Declaration
public double East { get; }
Property Value
System.Double

GeoSize

Declaration
public Size GeoSize { get; }
Property Value
Windows.Foundation.Size

Height

Declaration
public double Height { get; set; }
Property Value
System.Double

IsEmpty

Declaration
public bool IsEmpty { get; }
Property Value
System.Boolean

MapControl

Declaration
public RadMap MapControl { get; set; }
Property Value
RadMap

North

Declaration
public double North { get; set; }
Property Value
System.Double

Northeast

Declaration
public Location Northeast { get; }
Property Value
Location

Northwest

Declaration
public Location Northwest { get; }
Property Value
Location

South

Declaration
public double South { get; }
Property Value
System.Double

Southeast

Declaration
public Location Southeast { get; }
Property Value
Location

Southwest

Declaration
public Location Southwest { get; }
Property Value
Location

UniqueId

Declaration
public int UniqueId { get; }
Property Value
System.Int32

ViewCenter

Declaration
public Location ViewCenter { get; }
Property Value
Location

West

Declaration
public double West { get; set; }
Property Value
System.Double

Width

Declaration
public double Width { get; set; }
Property Value
System.Double

ZoomLevel

Declaration
public int ZoomLevel { get; }
Property Value
System.Int32

Methods

Contains(Location)

Declaration
public bool Contains(Location location)
Parameters
Location location

Returns
System.Boolean

Contains(LocationRect)

Declaration
public bool Contains(LocationRect other)
Parameters
LocationRect other

Returns
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Equals(LocationRect, LocationRect)

Declaration
public static bool Equals(LocationRect rect1, LocationRect rect2)
Parameters
LocationRect rect1

LocationRect rect2

Returns
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
System.Int32

Intersect(LocationRect)

Declaration
public bool Intersect(LocationRect other)
Parameters
LocationRect other

Returns
System.Boolean

IntersectWithLine(Location, Location)

Declaration
public bool IntersectWithLine(Location location1, Location location2)
Parameters
Location location1

Location location2

Returns
System.Boolean

Parse(String)

Declaration
public static LocationRect Parse(string source)
Parameters
System.String source

Returns
LocationRect

ToString()

Declaration
public override string ToString()
Returns
System.String

ToString(IFormatProvider)

Declaration
public string ToString(IFormatProvider provider)
Parameters
System.IFormatProvider provider

Returns
System.String

Union(LocationRect)

Declaration
public LocationRect Union(LocationRect other)
Parameters
LocationRect other

Returns
LocationRect

Operators

Equality(LocationRect, LocationRect)

Declaration
public static bool operator ==(LocationRect rect1, LocationRect rect2)
Parameters
LocationRect rect1

LocationRect rect2

Returns
System.Boolean

Inequality(LocationRect, LocationRect)

Declaration
public static bool operator !=(LocationRect rect1, LocationRect rect2)
Parameters
LocationRect rect1

LocationRect rect2

Returns
System.Boolean

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.