UISegmentedControl.SetContentOffset(CGSize, 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.
Sets the content offset for a specified segment.
[Foundation.Export("setContentOffset:forSegmentAtIndex:")]
public virtual void SetContentOffset (CoreGraphics.CGSize offset, nint segment);
abstract member SetContentOffset : CoreGraphics.CGSize * nint -> unit
override this.SetContentOffset : CoreGraphics.CGSize * nint -> unit
Parameters
- offset
- CGSize
The content offset.
- segment
- System.System.IntPtr System.nativeint
The segment index.
- Attributes
Remarks
The content offset is used when drawing both text and images in the segment.