Xamarin.Forms Guides | Samples

Xamarin.Forms.SizeRequest Structure

Struct that definse minimum and maximum Sizes.

See Also: SizeRequest

Syntax

[System.Diagnostics.DebuggerDisplay("Request={Request.Width}x{Request.Height}, Minimum={Minimum.Width}x{Minimum.Height}")]
public struct SizeRequest

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.3.4.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.SizeRequest are listed below.

See Also: ValueType

Public Constructors

Creates a new SizeRequest object with default values.
Creates a new SizeRequest object that requests at least the size minimum, but preferably the size request.

Public Properties

MinimumSize. The minimum acceptable size.
RequestSize. The requested size.

Public Methods

override
ToString() : String
Returns a string representation of the size request.