Skip to content

Commit

Permalink
[AppKit] Add missing NSView.ClipsToBounds. Fixes #18916. (#18924)
Browse files Browse the repository at this point in the history
Fixes #18916.
  • Loading branch information
rolfbjarne committed Sep 6, 2023
1 parent 17126b3 commit 324a0f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/appkit.cs
Expand Up @@ -16142,6 +16142,9 @@ partial interface NSView : NSDraggingDestination, NSAnimatablePropertyContainer,
[Export ("setNeedsDisplayInRect:")]
void SetNeedsDisplayInRect (CGRect invalidRect);

[Export ("clipsToBounds")]
bool ClipsToBounds { get; set; }

[Deprecated (PlatformName.MacOSX, 10, 14, message: "Subclass NSView and implement 'DrawRect'.")]
[Export ("lockFocus")]
void LockFocus ();
Expand Down

6 comments on commit 324a0f0

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.