Skip to main content

ExpandCollapseInfoEventArgs.Size Property

Gets or sets the DXExpander content size in the expanded state.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public Size Size { get; set; }

Property Value

Type Description
Size

A Size instance that specifies the DXExpander content size.

Remarks

Use the Size property to provide a custom size for the expander content.

If the vertical animation is disabled (specified by the DXExpander.VerticalExpand property set to VerticalExpandMode.None), the Height component of the Size property value is ignored, and the height is defined by the expander content. Similarly, the Width component is ignored if the horizontal animation is disabled (the DXExpander.HorizontalExpand property is set to HorizontalExpandMode.None).

See Also