NSToolbarItem.VisibilityPriority Property
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.
Indicate which toolbar items should be kept when the toolbar space is limited.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr VisibilityPriority { [Foundation.Export("visibilityPriority")] get; [Foundation.Export("setVisibilityPriority:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("visibilityPriority")>]
[<set: Foundation.Export("setVisibilityPriority:")>]
member this.VisibilityPriority : nativeint with get, set
Property Value
nativeint
- Attributes
Remarks
The valid values come from the NSToolbarItemVisibilityPriority enum, and they can be referenced as follows:
NSToolbarItem item = GetItem ();
item.VisibilityPriority = (nint) (long) NSToolbarItemVisibilityPriority.High;