net9.0-macos14.2
namespace AppKit
{
[Protocol(Name = "NSCollectionLayoutVisibleItem", WrapperType = typeof(NSCollectionLayoutVisibleItemWrapper))]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "bounds", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Bounds", PropertyType = typeof(CGRect), Selector = "bounds")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "name", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Name", PropertyType = typeof(string), Selector = "name")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "indexPath", IsProperty = true, IsRequired = true, IsStatic = false, Name = "IndexPath", PropertyType = typeof(NSIndexPath), Selector = "indexPath")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "frame", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Frame", PropertyType = typeof(CGRect), Selector = "frame")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "representedElementCategory", IsProperty = true, IsRequired = true, IsStatic = false, Name = "RepresentedElementCategory", PropertyType = typeof(NSCollectionElementCategory), Selector = "representedElementCategory")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "representedElementKind", IsProperty = true, IsRequired = true, IsStatic = false, Name = "RepresentedElementKind", PropertyType = typeof(string), Selector = "representedElementKind")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "alpha", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Alpha", PropertyType = typeof(NFloat), Selector = "alpha", SetterSelector = "setAlpha:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "zIndex", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ZIndex", PropertyType = typeof(IntPtr), Selector = "zIndex", SetterSelector = "setZIndex:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "isHidden", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Hidden", PropertyType = typeof(bool), Selector = "hidden", SetterSelector = "setHidden:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "center", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Center", PropertyType = typeof(CGPoint), Selector = "center", SetterSelector = "setCenter:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("ios")]
public interface INSCollectionLayoutVisibleItem : INativeObject, IDisposable
{
[Preserve(Conditional = true)]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("maccatalyst")]
[UnsupportedOSPlatform("tvos")]
CGPoint Center
{
[Export("center", ArgumentSemantic.Assign)]
get;
[Export("setCenter:", ArgumentSemantic.Assign)]
set;
}
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net9.0-macos14.2 | |
Assembly | Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is only supported on the following platforms:
The property setter is only supported on the following platforms:
|