Edytuj

Udostępnij za pośrednictwem


UISlider.TrackRectForBounds(CGRect) Method

Definition

Returns the rectangle that will be used for the drawing the slider's track.

[Foundation.Export("trackRectForBounds:")]
public virtual CoreGraphics.CGRect TrackRectForBounds (CoreGraphics.CGRect forBounds);
abstract member TrackRectForBounds : CoreGraphics.CGRect -> CoreGraphics.CGRect
override this.TrackRectForBounds : CoreGraphics.CGRect -> CoreGraphics.CGRect

Parameters

forBounds
CGRect

The bounding rectangle of the control.

Returns

Attributes

Remarks

Do not call this method directly. It exists so that customizations can be performed by subclassing UISlider and overriding this method.

Applies to