UISegmentedControl.GetContentOffset(nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The offset used for drawing content in a specified segment.
[Foundation.Export("contentOffsetForSegmentAtIndex:")]
public virtual CoreGraphics.CGSize GetContentOffset (nint segment);
abstract member GetContentOffset : nint -> CoreGraphics.CGSize
override this.GetContentOffset : nint -> CoreGraphics.CGSize
Parameters
- segment
- System.System.IntPtr System.nativeint
The index of the segment to retrieve the content offset for.
Returns
The content offset.
- Attributes
Remarks
The content offset is used for both text and image drawing within a segment.