Click here to Skip to main content
15,883,705 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Styles - Where Do I Put them? Pin
#realJSOP10-Apr-09 10:21
mve#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
mve#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
mve#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


AnswerRe: WPF Expander Control - Custom Header Pin
mikla52110-Apr-09 3:28
mikla52110-Apr-09 3:28 
AnswerRe: WPF Expander Control - Custom Header Pin
Insincere Dave10-Apr-09 3:28
Insincere Dave10-Apr-09 3:28 
AnswerRe: WPF Expander Control - Custom Header Pin
Eslam Afifi10-Apr-09 3:35
Eslam Afifi10-Apr-09 3:35 
QuestionCreate a System::Windows::Controls::UserControl^ Pin
Member 377636710-Apr-09 2:25
Member 377636710-Apr-09 2:25 
AnswerRe: Create a System::Windows::Controls::UserControl^ Pin
Mark Salsbery10-Apr-09 7:05
Mark Salsbery10-Apr-09 7:05 
QuestionWPF Datagrid: change image source on row clicked Pin
johnsontroye9-Apr-09 2:31
johnsontroye9-Apr-09 2:31 
QuestionWPF DataGrid Column CellStyle at Runtime Pin
zaki19848-Apr-09 23:53
zaki19848-Apr-09 23:53 
AnswerRe: WPF DataGrid Column CellStyle at Runtime Pin
yogeshCJ2-Jun-10 23:44
yogeshCJ2-Jun-10 23:44 
Questionwhere is the best start line Pin
cppwxwidgetsss8-Apr-09 19:44
cppwxwidgetsss8-Apr-09 19:44 
AnswerRe: where is the best start line Pin
Feras Mazen Taleb8-Apr-09 20:27
Feras Mazen Taleb8-Apr-09 20:27 
AnswerRe: where is the best start line Pin
Mark Salsbery9-Apr-09 6:38
Mark Salsbery9-Apr-09 6:38 
QuestionAdd 'Command' property to derived control? Pin
David Veeneman8-Apr-09 9:04
David Veeneman8-Apr-09 9:04 
AnswerRe: Add 'Command' property to derived control? Pin
David Veeneman8-Apr-09 14:06
David Veeneman8-Apr-09 14:06 
QuestionWPF textbox, update problem. Mode: TwoWay Pin
marca2927-Apr-09 23:42
marca2927-Apr-09 23:42 
AnswerRe: WPF textbox, update problem. Mode: TwoWay Pin
R2B210-Apr-09 5:31
R2B210-Apr-09 5:31 
Questionthat very confusing in virtual directory and MIME Type................ Pin
Piyush Vardhan Singh7-Apr-09 21:30
Piyush Vardhan Singh7-Apr-09 21:30 
AnswerRe: that very confusing in virtual directory and MIME Type................ Pin
Mark Salsbery8-Apr-09 12:38
Mark Salsbery8-Apr-09 12:38 

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.