←Select platform

IsHeaderRestricted Property (AnnObject)

Summary

Gets or sets a value indicating whether this AnnObject header is restricted to appear fully within the bounding rectangle of the container. This is a dependency property.

Syntax

C#
VB
C++
public bool IsHeaderRestricted {get; set;}
Public Property IsHeaderRestricted As Boolean
public: 
property bool IsHeaderRestricted { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to restrict the header to appear fully within the bounding rectangle of the container; otherwise, false.

Remarks

When the NameRestrict value of an AnnObject is set to true, calling the RestrictHeader method will move the name (by changing the HeaderOffset property so the header will be restricted to appear fully within the AnnContainer.Width and AnnContainer.Height properties of the AnnContainer that contains this AnnObject). For more information, refer to WPF Annotation Object Headers.

Example

For XAML example, refer to AnnPolygonObject.

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize