This project is read-only.

Expander Control Usage

Go to properties, methods and events
Go to screenshot

for all samples
...
xmlns:DevPhone="clr-namespace:DevPhone.Controls;assembly=DevPhone.Controls.Toolkit"
...

Basic

<DevPhone:ExpanderControl Header="Header sample" IsExpanded="False">
...
Your Content
...
</DevPhone:ExpanderControl>

Color and Event

<DevPhone:ExpanderControl x:Name="expanderControl" Header="Header sample" EllipseBrush="#FF1BE249" EllipseArrow="#FF0A1DFF" HeaderBrush="White" HeaderBackground="#BFB41717" FontSize="28" FontWeight="Bold" FontStyle="Italic" ChangeExpanded="ExpanderControlChangeExpanded">
    <StackPanel>
        <TextBlock Text="Text content sample1" />
        <TextBlock Text="Text content sample2" />
    </StackPanel>
</DevPhone:ExpanderControl>

Code
private void ExpanderControlChangeExpanded(object sender, ExpandedChangeEventArgs e)
{
    Status.Text = "(" + (expanderControl.IsExpanded ? " Expanded" : "Collaped") + ")";
}


Last edited Jun 2, 2012 at 10:10 PM by FCerqueira, version 3

Comments

No comments yet.