Click here to Skip to main content
15,914,111 members
Home / Discussions / WPF
   

WPF

 
QuestionClipping To Rounded Corners Pin
#realJSOP13-Apr-09 5:27
professional#realJSOP13-Apr-09 5:27 
AnswerRe: Clipping To Rounded Corners [modified] Pin
Eslam Afifi13-Apr-09 7:42
Eslam Afifi13-Apr-09 7:42 
AnswerRe: Clipping To Rounded Corners Pin
Mark Salsbery13-Apr-09 9:45
Mark Salsbery13-Apr-09 9:45 
AnswerRe: Clipping To Rounded Corners Pin
sivaddrahcir20-Apr-09 8:31
sivaddrahcir20-Apr-09 8:31 
QuestionOnRenderComplete like event for WPF controls Pin
Pankaj Chamria13-Apr-09 1:38
Pankaj Chamria13-Apr-09 1:38 
QuestionContext menu in Datatemplate Pin
mikla52111-Apr-09 5:39
mikla52111-Apr-09 5:39 
QuestionRe: Context menu in Datatemplate Pin
Mark Salsbery11-Apr-09 7:42
Mark Salsbery11-Apr-09 7:42 
AnswerRe: Context menu in Datatemplate [modified] Pin
mikla52111-Apr-09 19:54
mikla52111-Apr-09 19:54 
QuestionRe: Context menu in Datatemplate Pin
Mark Salsbery13-Apr-09 8:47
Mark Salsbery13-Apr-09 8:47 
AnswerRe: Context menu in Datatemplate Pin
mikla52113-Apr-09 21:11
mikla52113-Apr-09 21:11 
GeneralRe: Context menu in Datatemplate Pin
Mark Salsbery14-Apr-09 7:00
Mark Salsbery14-Apr-09 7:00 
GeneralRe: Context menu in Datatemplate Pin
mikla52114-Apr-09 20:11
mikla52114-Apr-09 20:11 
GeneralRe: Context menu in Datatemplate Pin
Mark Salsbery14-Apr-09 20:23
Mark Salsbery14-Apr-09 20:23 
QuestionInheritence in XAML Pin
0x3c010-Apr-09 9:09
0x3c010-Apr-09 9:09 
AnswerRe: Inheritence in XAML Pin
0x3c010-Apr-09 9:24
0x3c010-Apr-09 9:24 
QuestionStyles - Where Do I Put them? Pin
#realJSOP10-Apr-09 8:57
professional#realJSOP10-Apr-09 8:57 
AnswerRe: Styles - Where Do I Put them? Pin
R2B210-Apr-09 9:15
R2B210-Apr-09 9:15 
GeneralRe: Styles - Where Do I Put them? Pin
#realJSOP10-Apr-09 10:21
professional#realJSOP10-Apr-09 10:21 
GeneralRe: Styles - Where Do I Put them? Pin
R2B210-Apr-09 10:59
R2B210-Apr-09 10:59 
AnswerRe: Styles - Where Do I Put them? Pin
Mark Salsbery10-Apr-09 9:31
Mark Salsbery10-Apr-09 9:31 
GeneralRe: Styles - Where Do I Put them? Pin
#realJSOP10-Apr-09 10:22
professional#realJSOP10-Apr-09 10:22 
AnswerRe: Styles - Where Do I Put them? Pin
Wes Aday10-Apr-09 19:42
professionalWes Aday10-Apr-09 19:42 
AnswerRe: Styles - Where Do I Put them? Pin
ctnightmare13-Apr-09 9:56
ctnightmare13-Apr-09 9:56 
AnswerRe: Styles - Where Do I Put them? Pin
Jammer14-Apr-09 8:09
Jammer14-Apr-09 8:09 
QuestionWPF Expander Control - Custom Header Pin
#realJSOP10-Apr-09 3:16
professional#realJSOP10-Apr-09 3:16 
Consider the following code:

<Canvas Panel.ZIndex="999" HorizontalAlignment="Left" Width="225" Height="262" VerticalAlignment="Top">
            <Expander Margin="-13,-47,0,-210" Name="expander1" Background="Transparent" HorizontalAlignment="Left" 
            Width="221" Height="257" Canvas.Top="48" Canvas.Left="14">
                <Expander.Header>
                    <Rectangle Height="26" Margin="22,-21,0,0" Name="rectangle1" 
                                           Stroke="OrangeRed" VerticalAlignment="Top" RadiusX="8" RadiusY="8" Fill="DarkBlue" />
                    <Label Margin="22,-20,0,0" Background="Transparent" Foreground="White" Name="label99" 
                                       FontFamily="Arial" FontSize="14" FontWeight="Bold" FontStyle="Italic" 
                                       HorizontalContentAlignment="Center" 
                                       Content="BTN:123-456-7890" Height="26" VerticalAlignment="Top" />
                </Expander.Header>
                <Grid >
                    <Grid.BitmapEffect>
                        <DropShadowBitmapEffect />
                    </Grid.BitmapEffect>
                    <telerik:RadTreeView blah blah blah />
                </Grid>
            </Expander>
        </Canvas>


The designer is giving the following error:

The property "Header" is set more than once.

I don't understand why I'm getting this error - there's only one header specification in the control.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.