iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Good day,
I'm wondering if it is possible to set the content of ExpandableContentPresenter as Auto Height instead of Fixed Height?
What I'm trying to achieve is to set a UXQueryBuilder as the content of ExpandableContentPresenter and when a condition is added/removed it is automatically resized (without using a UXScrollViewer).
The ExpandableContentPresenter is shown when checking a UXCheckBox.
In other words, I would like to show the UXQueryBuilder when the UXCheckBox state is checked, and hide it when unchecked.
Thanks in advance!
Dave
ExpandableContentPresenter is inherited from ISContentControl, which means that it can contain a single object of any types, such as string, an image, or a panel. For more information about this content model, see Content Model Overview. The content of ExpandableContentPresenter must be a UIElement with fixed Height and/or Width, which is used as reference for the expand and collapse animation.
ExpandableContentPresenter is inherited from ISContentControl, which means that it can contain a single object of any types, such as string, an image, or a panel. For more information about this content model, see Content Model Overview.
The content of ExpandableContentPresenter must be a UIElement with fixed Height and/or Width, which is used as reference for the expand and collapse animation.
Source: Intersoft ClientUI Documentation ExpandableContentPresenter.
You may try to use the ExpandableGroupBox control for your scenario. The following example shows how to define a simple UXQueryBuilder as the content of ExpandableGroupBox.
<Intersoft:ExpandableGroupBox x:Name="ExpandableContainer" VerticalAlignment="Top" > <Grid> <Intersoft:UXQueryBuilder x:Name="QueryBuilder"/> </Grid> </Intersoft:ExpandableGroupBox>
It is best practice to define the size in the content element of the ExpandableGroupBox instead of defining it in the control itself. This allows the ExpandableGroupBox to support fluid layout and perform smoother operation.
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname