-
Notifications
You must be signed in to change notification settings - Fork 1
PopupExpander
Aaron Amberman edited this page Mar 15, 2024
·
5 revisions
An Expander that shows its content in a Popup.
-
CornerRadius
- Gets or sets the corner radius for the expander.
-
PopupHorizontalOffset
- Gets or sets the horizontal offset for the popup.
-
PopupPlacementRectangle
- Gets or sets the placement rectangle for the popup portion of the control.
-
PopupStaysOpen
- Gets or sets whether or not the popup stays open or not. Default is false.
-
PopupVerticalOffset
- Gets or sets the vertical offset for the popup.
There are no public or protected methods, only inherited methods.
There are no events other than inherited ones.
<namespace:PopupExpander ExpandDirection="Right">
<namespace:PopupExpander.Header>
<TextBlock Text="Expander w/ Popup">
<TextBlock.LayoutTransform>
<RotateTransform Angle="90" />
</TextBlock.LayoutTransform>
</TextBlock>
</namespace:PopupExpander.Header>
<Border Background="#FFDDDDDD" BorderBrush="#FF707070" BorderThickness="1">
<Grid Margin="5">
<TextBlock Text="Some simple content" />
</Grid>
</Border>
</namespace:PopupExpander>
Fairly easy to implement and can hold any kind of content. This type extends Expander so be sure to check it out for what properties, methods and events are available on the type.