Xceed DataGrid for WPF v7.2 Documentation
PassiveLayoutDecorator Class
Members 


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace : PassiveLayoutDecorator Class

Represents a decorator that, for the specified axis, does not have a desired size but still lays out its child according to the size provided by its parent.

Syntax
'Declaration
 
<LocalizabilityAttribute(LocalizationCategory.Ignore, Readability=Readability.Unreadable)>
<ContentPropertyAttribute("Child")>
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class PassiveLayoutDecorator 
   Inherits System.Windows.Controls.Decorator
'Usage
 
Dim instance As PassiveLayoutDecorator
[Localizability(LocalizationCategory.Ignore, Readability=Readability.Unreadable)]
[ContentProperty("Child")]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class PassiveLayoutDecorator : System.Windows.Controls.Decorator 
Remarks

For example, if the content of a GroupHeaderControl, whose template root is a PassiveLayoutDecorator with an Axis property set to Horizontal, is larger than the combined width of the columns, its width will be restrained and not exceed the total column width.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Decorator
                     Xceed.Wpf.DataGrid.Views.PassiveLayoutDecorator

Requirements

Target Platforms: Windows 11, Windows 10, 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

Reference

PassiveLayoutDecorator Members
Xceed.Wpf.DataGrid.Views Namespace