Visual Basic (Declaration) | |
---|---|
Public Overridable Sub RestrictHeader() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void RestrictHeader() |
C++/CLI | |
---|---|
public: virtual void RestrictHeader(); |
This method works only if the IsHeaderRestricted value of this AnnObjectBase is set to true. Calling this method will move the header (by changing the AnnObjectBase.HeaderOffset property so the header will be restricted to appear fully within the Width and Height properties of the AnnContainer that contains this AnnObjectBase). For more information, refer to WPF Annotation Object Headers.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family