IUIPickerViewDelegate
GetAttributedTitle(UIPickerView, nint, nint)
GetComponentWidth(UIPickerView, nint)
GetRowHeight(UIPickerView, nint)
GetTitle(UIPickerView, nint, nint)
GetView(UIPickerView, nint, nint, UIView)
Selected(UIPickerView, nint, nint)
GetAttributedTitle(IUIPickerViewDelegate, UIPickerView, nint, nint)
GetComponentWidth(IUIPickerViewDelegate, UIPickerView, nint)
GetRowHeight(IUIPickerViewDelegate, UIPickerView, nint)
GetTitle(IUIPickerViewDelegate, UIPickerView, nint, nint)
GetView(IUIPickerViewDelegate, UIPickerView, nint, nint, UIView)
Selected(IUIPickerViewDelegate, UIPickerView, nint, nint)
net10.0-ios17.2
namespace UIKit
{
[Protocol(Name = "UIPickerViewDelegate", WrapperType = typeof(UIPickerViewDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Selected", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIPickerView), typeof(IntPtr), typeof(IntPtr) }, Selector = "pickerView:didSelectRow:inComponent:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetRowHeight", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIPickerView), typeof(IntPtr) }, ReturnType = typeof(NFloat), Selector = "pickerView:rowHeightForComponent:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetComponentWidth", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIPickerView), typeof(IntPtr) }, ReturnType = typeof(NFloat), Selector = "pickerView:widthForComponent:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTitle", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIPickerView), typeof(IntPtr), typeof(IntPtr) }, ReturnType = typeof(string), Selector = "pickerView:titleForRow:forComponent:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetView", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UIPickerView), typeof(IntPtr), typeof(IntPtr), typeof(UIView) }, ReturnType = typeof(UIView), Selector = "pickerView:viewForRow:forComponent:reusingView:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetAttributedTitle", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIPickerView), typeof(IntPtr), typeof(IntPtr) }, ReturnType = typeof(NSAttributedString), Selector = "pickerView:attributedTitleForRow:forComponent:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[UnsupportedOSPlatform("tvos")]
public interface IUIPickerViewDelegate : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("pickerView:didSelectRow:inComponent:")]
[OptionalMember]
virtual void Selected(UIPickerView! pickerView, IntPtr row, IntPtr component);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| iOS | 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2 |
| Mac Catalyst | 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2 |
Information specific to net10.0-ios17.2 | |
| Assembly | Microsoft.iOS , Version=18.5.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API