HorizontalContentPlacement Property (NLayoutData)
In This Topic
Gets/sets how the shape is resized/repositioned horizontally to fit the cell slot allocated by a cells layout. Used by all cells layouts (stack, flow, dock etc.). Applicable for 2D shapes only, when UseDefaultHorizontalContentPlacement is set to false.
Syntax
'Declaration
<System.ComponentModel.CategoryAttribute("Shape 2D Layout")>
<System.ComponentModel.DescriptionAttribute("Gets/sets how the shape is resized/repositioned horizontally to fit the cell slot allocated by a cells layout. Used by all cells layouts (stack, flow, dock etc.). Applicable for 2D shapes only, when UseDefaultHorizontalContentPlacement is set to false.")>
<System.Xml.Serialization.XmlAttributeAttribute()>
Public Property HorizontalContentPlacement As ContentPlacement
'Usage
Dim instance As NLayoutData
Dim value As ContentPlacement
instance.HorizontalContentPlacement = value
value = instance.HorizontalContentPlacement
[System.ComponentModel.Category("Shape 2D Layout")]
[System.ComponentModel.Description("Gets/sets how the shape is resized/repositioned horizontally to fit the cell slot allocated by a cells layout. Used by all cells layouts (stack, flow, dock etc.). Applicable for 2D shapes only, when UseDefaultHorizontalContentPlacement is set to false.")]
[System.Xml.Serialization.XmlAttribute()]
public ContentPlacement HorizontalContentPlacement {get; set;}
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also