|
I've got a StackPanel with a group of expanders in, how do I set it so that only expander is expanded at any one time?
Cheers
AW
Started by AWC on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can add a dependency property whose value is "the expander that is expanded," and then you can bind the "expanded" property to the expression "theExpandedProperty == this" using your favorite expression binding technique (type....
|
|
Since expanding a large gzip file takes quite long time (sometimes over half a minute), I'd like to know the expanded size before I start the expansion (for progression report purpose). Is there a way of knowing it without actually expanding?
Update :...
Started by bryantsai on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Can you go into the actual decompression function and have it indicate how far... .
I don't think you can get an exact size, as that would require knowing the actual frequencies of various strings in a file, and you can't do that without scanning the file .
|
|
I have a ListBox containing a group of 'Expander' items, and what I would like to do is make the 'IsExpanded' property for each of them exclusive - i.e. if I have 10 Expanders in the ListBox, I'd like only one to be open at a time... Soo at present I ...
Started by Chris on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
What determines whether an Expander is expanded? If it's selection, you could bind the IsExpanded property to the IsSelected property of the ListBoxItem :
<Expander IsExpanded="{Binding IsSelected, RelativeSource={RelativeSource....
|
Ask your Facebook Friends
|
I am developing an ASP.NET Ajax form, and decided to make most of the site in one page, because it isn't a very involved site (it's more of a form). In the codebehind, I have been making my code more organized by adding regions to it (inside are the click...
Started by RodgerB on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Ctrl + M, Ctrl + O Collapse....
Ctrl + M, Ctrl + M Collapse or expand the block you?re currently in.
Not tested though.
Although regions will remain collapsed.
Try the "key chord": Ctrl+M, Ctrl+O, then use Ctrl+M, Ctrl+M to expand one at a time.
|
|
I have a wx.Panel that has a GridBagSizer associated with it. This panel is placed inside another Sizer (BoxSizer), whose add has the expand flag - meaning that the panel takes up the full width of the sizer, which is great. ...But the panel's internal...
Started by Fry on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Make sure that the inner Panel's parent is set correctly, and you might... .
If you post some code, (just some placeholders, with different background colors or something so we can see what's happening) it will be easier to diagnose .
You've got the right idea.
|
|
I'm trying to simplify the deployment of an application. In order to build the final application on an end-user's machine, a couple of C files need to be compiled. This means that dozens of header files need to be shipped along with the application. I...
Started by Wandercoder on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This means that dozens of header files need to be shipped along with the... .
What about using an #ifdef to control which #if sections are compiled?
In order to build the final application on an end-user's machine, a couple of C files need to be compiled .
|
|
Hi
I have a stackpanel with multiple expanders:
<StackPanel Margin="0,10,0,0"> <Expander Header="Test 1"> <ListBox> <ListBoxItem Content="Unit 1"/> <ListBoxItem Content="Unit 2"/> </ListBox> </Expander> <Expander...
Started by Sys on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
XAML:
<Window x:Class="ExpanderTest.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20....
ListControls support selecting an item.
Add them to a ListControl instead of a StackPanel.
|
|
Hi,
I'm trying to make a custom template for Expander to animate the collapse and expand (as in windows xp). When i add the following trigger :
< Trigger Property = " IsExpanded " Value = " True " >
< Trigger.EnterActions >
< BeginStoryboard...
Answer Snippets (Read the full thread at microsoft):
And the visual is not exactly the same as collapse/expand.<o:p></o:p>
Just my 2 cents,<o.
|
|
I have an expander control with it's IsExpanded property bound to a bool in the mvvm model. The binding works fine until you dont touch the expander. Once you click the arrow in the expander to expand, the binding stops working. Setting the bool ShowPreview...
Started by netraju on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
What is the difference in:
myModel....
If you remove Mode=OneWay does that fix the problem?
Upon reading your other CTQ (changes to the GUI do not affect the model), I don't have a good suggestion for how to limit the change being seen by the underlying data .
|
|
I learned that compiler will expand macros while compiling. Templates are also expanded at the compile time. Is there any way to see this expanded code? I am compiling using Visual Studio 2008.
any thoughts?
Started by Appu on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
It's easy to add an option to compilers to show .
Modern compiler that allows to expand templates.
|