nomadtactical.blogg.se

How to create an auto text expander app
How to create an auto text expander app






how to create an auto text expander app

Control the size of an Expanderīy default, the Header and Content areas automatically size to fit their contents. When you set these properties, the alignment applies only to the expanded content, not the header. You can align content by setting the HorizontalContentAlignment and VerticalContentAlignment properties on the Expander control. You can use complex, interactive UI as the content of the Expander, including nested Expander controls in the content of a parent Expander as shown here. For more details about setting the Content property, see the Remarks section of the ContentControl class. The Content property of an Expander can be any type of object, but is typically a string or UIElement. This example creates an Expander that looks like the previous illustration. The Content property defines the element that can be collapsed and expanded. The Header property defines the element that is always visible.

How to create an auto text expander app how to#

This example shows how to create a simple Expander with the default styling. Get the XAML Controls Gallery app (Microsoft Store).If you have the XAML Controls Gallery app installed, click here to open the app and see Expander in action. Hiding the secondary content until it's needed can also help to focus the user on the most important parts of your app. This UI is commonly used when display space is limited and when information or options can be grouped together. Use an Expander when some primary content should always be visible, but related secondary content may be hidden until needed.

how to create an auto text expander app

Windows UI Library APIs: Expander class, Header property, Content property Is this the right control?








How to create an auto text expander app