Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. AppKit
  3. NSTextContainer
  4. NSTextContainer(CGSize)
  • NSTextContainer
    • NSTextContainer()
    • NSTextContainer(CGSize)
    • NSTextContainer(IntPtr)
    • NSTextContainer(NativeHandle)
    • NSTextContainer(NSCoder)
    • NSTextContainer(NSObjectFlag)
    • ClassHandle
    • ContainerSize
    • ExclusionPaths
    • HeightTracksTextView
    • IsSimpleRectangularTextContainer
    • LayoutManager
    • LayoutOrientation
    • LineBreakMode
    • LineFragmentPadding
    • MaximumNumberOfLines
    • Size
    • TextLayoutManager
    • TextView
    • WidthTracksTextView
    • ContainsPoint(CGPoint)
    • Dispose(Boolean)
    • EncodeTo(NSCoder)
    • FromContainerSize(CGSize)
    • FromSize(CGSize)
    • GetLineFragmentRect(CGRect, nuint, NSWritingDirection, CGRect)
    • GetLineFragmentRect(CGRect, nuint, NSWritingDirection, CGRect)
    • ReplaceLayoutManager(NSLayoutManager)
xamarinmac
namespace AppKit
{
    [Register("NSTextContainer", true)]
    public class NSTextContainer : NSObject, INSCoding, INSSecureCoding, INativeObject, IDisposable
    {
        [Obsoleted(PlatformName.MacOSX, 10, 11, PlatformArchitecture.None, "Use NSTextContainer.FromSize instead.")]
        public NSTextContainer(CGSize size);
    }
}
Xamarin macOS
0.0
Information specific to xamarinmac
Assembly

Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/16/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙