Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ExpandCollapseInfoEventArgs.Size Property

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

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.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