diff --git a/src/AppKit/Enums.cs b/src/AppKit/Enums.cs index 174c83428ce..3d1f8d19842 100644 --- a/src/AppKit/Enums.cs +++ b/src/AppKit/Enums.cs @@ -1976,12 +1976,13 @@ public enum NSGestureRecognizerState : long { #endregion #region NSStackLayout + /// Specifies the axis along which user interface elements are laid out. [NoMacCatalyst] [Native] public enum NSUserInterfaceLayoutOrientation : long { - /// To be added. + /// Elements are laid out along the horizontal axis. Horizontal = 0, - /// To be added. + /// Elements are laid out along the vertical axis. Vertical = 1, } @@ -2848,12 +2849,13 @@ public enum NSTickMarkPosition : ulong { Trailing = Right, } + /// Specifies the shape of a slider. [NoMacCatalyst] [Native] public enum NSSliderType : ulong { - /// To be added. + /// A horizontal or vertical linear slider. Linear = 0, - /// To be added. + /// A circular slider. Circular = 1, } @@ -2987,6 +2989,7 @@ public enum NSFontCollectionOptions : long { ApplicationOnlyMask = 1, } + /// Specifies whether a drop occurs on an item or before it. #if XAMCORE_5_0 [NoMacCatalyst] #else @@ -2998,9 +3001,9 @@ public enum NSFontCollectionOptions : long { #endif [Native] public enum NSCollectionViewDropOperation : long { - /// To be added. + /// The drop occurs on the item at the specified index path. On = 0, - /// To be added. + /// The drop occurs before the item at the specified index path. Before = 1, } @@ -3825,12 +3828,13 @@ public enum NSLayoutPriority : int /*float*/ { FittingSizeCompression = 50, } + /// Specifies the visual appearance of a popover. [NoMacCatalyst] [Native] public enum NSPopoverAppearance : long { - /// To be added. + /// A minimal popover appearance. Minimal, - /// To be added. + /// A heads-up display appearance. HUD, } @@ -3870,12 +3874,13 @@ public enum NSTableRowActionEdge : long { Trailing, } + /// Specifies whether a table row action is regular or destructive. [NoMacCatalyst] [Native] public enum NSTableViewRowActionStyle : long { - /// To be added. + /// A regular, nondestructive action. Regular, - /// To be added. + /// An action that performs a destructive operation. Destructive, } @@ -4060,12 +4065,13 @@ public enum NSPageControllerTransitionStyle : long { HorizontalStrip, } + /// Specifies whether a window's title is displayed. [NoMacCatalyst] [Native] public enum NSWindowTitleVisibility : long { - /// To be added. + /// The window title is displayed. Visible = 0, - /// To be added. + /// The window title is hidden. Hidden = 1, } @@ -4162,12 +4168,13 @@ public enum NSVisualEffectMaterial : long { UnderPageBackground = 22, } + /// Specifies which content a visual effect view blends with. [NoMacCatalyst] [Native] public enum NSVisualEffectBlendingMode : long { - /// To be added. + /// Blends with content behind the window. BehindWindow, - /// To be added. + /// Blends with content behind the view in the current window. WithinWindow, } @@ -4258,12 +4265,13 @@ public enum NSWindowListOptions : long { OrderedFrontToBack = (1 << 0), } + /// Specifies optional behaviors for a status item. [NoMacCatalyst] [Native] public enum NSStatusItemBehavior : ulong { - /// To be added. + /// Allows the user to remove the status item from the menu bar. RemovalAllowed = (1 << 1), - /// To be added. + /// Allows the user to remove the status item and terminates the application when they do so. This option implies . TerminationOnRemoval = (1 << 2), } @@ -4394,22 +4402,24 @@ public enum NSPasteboardContentsOptions : ulong { CurrentHostOnly = 1, } + /// Specifies whether contact occurs directly on a display or through an indirect input device. [NoMacCatalyst] [Native] public enum NSTouchType : long { - /// To be added. + /// Contact occurs directly on a display. Direct, - /// To be added. + /// Contact occurs on an indirect input device, such as a trackpad. Indirect, } + /// Specifies the types of touch input to include. [NoMacCatalyst] [Native] [Flags] public enum NSTouchTypeMask : ulong { - /// To be added. + /// Includes direct touch input. Direct = (1 << (int) NSTouchType.Direct), - /// To be added. + /// Includes indirect touch input. Indirect = (1 << (int) NSTouchType.Indirect), } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 6b768da25c7..d65de8576a7 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -22410,7 +22410,6 @@ T:AppKit.NSCollectionLayoutSectionVisibleItemsInvalidationHandler T:AppKit.NSCollectionViewCompositionalLayoutSectionProvider T:AppKit.NSCollectionViewDiffableDataSourceItemProvider T:AppKit.NSCollectionViewDiffableDataSourceSupplementaryViewProvider -T:AppKit.NSCollectionViewDropOperation T:AppKit.NSCollectionViewItemHighlightState T:AppKit.NSCollectionViewScrollPosition T:AppKit.NSColorPanelFlags @@ -22557,7 +22556,6 @@ T:AppKit.NSPathStyle T:AppKit.NSPickerTouchBarItemControlRepresentation T:AppKit.NSPickerTouchBarItemSelectionMode T:AppKit.NSPointingDeviceType -T:AppKit.NSPopoverAppearance T:AppKit.NSPopoverBehavior T:AppKit.NSPopUpArrowPosition T:AppKit.NSPressureBehavior @@ -22602,7 +22600,6 @@ T:AppKit.NSSharingServicePickerSharingServicesForItems T:AppKit.NSSharingServiceSourceFrameOnScreenForShareItem T:AppKit.NSSharingServiceSourceWindowForShareItems T:AppKit.NSSharingServiceTransitionImageForShareItem -T:AppKit.NSSliderType T:AppKit.NSSpellCheckerShowCorrectionIndicatorOfTypeHandler T:AppKit.NSSpellingState T:AppKit.NSSplitViewItemBehavior @@ -22612,7 +22609,6 @@ T:AppKit.NSStackViewDistribution T:AppKit.NSStackViewGravity T:AppKit.NSStackViewVisibilityPriority T:AppKit.NSStandardKeyBindingMethods -T:AppKit.NSStatusItemBehavior T:AppKit.NSStoryboardControllerCreator T:AppKit.NSStringAttributeKey T:AppKit.NSStringDrawing_NSAttributedString @@ -22636,7 +22632,6 @@ T:AppKit.NSTableViewEventString T:AppKit.NSTableViewIndexFilter T:AppKit.NSTableViewPredicate T:AppKit.NSTableViewRowActionsGetter -T:AppKit.NSTableViewRowActionStyle T:AppKit.NSTableViewRowGetter T:AppKit.NSTableViewRowHandler T:AppKit.NSTableViewRowHeight @@ -22734,14 +22729,11 @@ T:AppKit.NSTouchBarItemIdentifier T:AppKit.NSTouchBarMakeItem T:AppKit.NSTouchEvent T:AppKit.NSTouchPhase -T:AppKit.NSTouchType -T:AppKit.NSTouchTypeMask T:AppKit.NSTrackingAreaOptions T:AppKit.NSTypesetterBehavior T:AppKit.NSTypesetterControlCharacterAction T:AppKit.NSUnderlinePattern T:AppKit.NSUsableScrollerParts -T:AppKit.NSUserInterfaceLayoutOrientation T:AppKit.NSVerticalDirections T:AppKit.NSView_NSCandidateListTouchBarItem T:AppKit.NSView_NSTouchBar @@ -22750,7 +22742,6 @@ T:AppKit.NSViewLayerContentsPlacement T:AppKit.NSViewLayerContentsRedrawPolicy T:AppKit.NSViewLayoutRegionAdaptivityAxis T:AppKit.NSViewResizingMask -T:AppKit.NSVisualEffectBlendingMode T:AppKit.NSVisualEffectMaterial T:AppKit.NSVisualEffectState T:AppKit.NSWindowAnimationBehavior @@ -22774,7 +22765,6 @@ T:AppKit.NSWindowSize T:AppKit.NSWindowSizeSize T:AppKit.NSWindowStyle T:AppKit.NSWindowTabbingMode -T:AppKit.NSWindowTitleVisibility T:AppKit.NSWindowToolbarStyle T:AppKit.NSWindowTrackEventsMatchingCompletionHandler T:AppKit.NSWindowUndoManager