alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class MediaBreakpoint

    A class that used to define break point and media query for SfMediaQuery component. The MediaBreakpoint class has two main properties: Breakpoint and MediaQuery. The Breakpoint property is a string that specifies the name of the breakpoint and the MediaQuery property is a string that specifies the media query associated with the breakpoint, which determines when the responsive layout changes associated with the breakpoint should be applied.

    Inheritance
    object
    MediaBreakpoint
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MediaBreakpoint

    Constructors

    MediaBreakpoint()

    Declaration
    public MediaBreakpoint()

    Properties

    Breakpoint

    Gets or sets the name of the break point.

    Declaration
    public string Breakpoint { get; set; }
    Property Value
    Type Description
    string

    A string value that represents the name of the break point.

    MediaQuery

    Gets or sets the media query.

    Declaration
    public string MediaQuery { get; set; }
    Property Value
    Type Description
    string

    A string value that represents the media query.

    Examples
    MediaQuery = "(max-width: 768px)"
    MediaQuery = "(min-width: 768px)"
    MediaQuery = "(min-width: 1024px)"
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved