Click here to Skip to main content
15,912,207 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: XAML Power Toys 3.5 Released Updated For New WPF & Silverlight Toolkits Pin
Pete O'Hanlon29-Oct-08 7:50
mvePete O'Hanlon29-Oct-08 7:50 
GeneralRe: XAML Power Toys 3.5 Released Updated For New WPF & Silverlight Toolkits Pin
User 27100929-Oct-08 17:31
User 27100929-Oct-08 17:31 
GeneralRe: XAML Power Toys 3.5 Released Updated For New WPF & Silverlight Toolkits Pin
Mark Salsbery29-Oct-08 17:29
Mark Salsbery29-Oct-08 17:29 
GeneralRe: XAML Power Toys 3.5 Released Updated For New WPF & Silverlight Toolkits Pin
User 27100929-Oct-08 17:30
User 27100929-Oct-08 17:30 
QuestionWPF in an IFrame not updating Pin
Gareth H28-Oct-08 5:34
Gareth H28-Oct-08 5:34 
AnswerRe: WPF in an IFrame not updating Pin
TJoe29-Oct-08 11:34
TJoe29-Oct-08 11:34 
GeneralRe: WPF in an IFrame not updating Pin
Gareth H29-Oct-08 22:35
Gareth H29-Oct-08 22:35 
QuestionStyles in WPF Pin
Yoyosch28-Oct-08 4:36
Yoyosch28-Oct-08 4:36 
Hi,

I have a simple code snippet that changes the color of a background of a boder using animation. How to define that in style? I am getting the error message saying that I cannot specificy TargetName.


<Border.Background><br />
                                <SolidColorBrush x:Name="brush"></SolidColorBrush><br />
                            </Border.Background><br />
                            <Border.Triggers><br />
                                <EventTrigger RoutedEvent="Border.MouseEnter"><br />
                                    <EventTrigger.Actions><br />
                                        <BeginStoryboard><br />
                                            <Storyboard><br />
                                                <ColorAnimation Storyboard.TargetName="brush" Storyboard.TargetProperty="Color" To="Yellow" Duration="0:0:0.5"></ColorAnimation><br />
                                            </Storyboard><br />
                                        </BeginStoryboard><br />
                                    </EventTrigger.Actions><br />
                                </EventTrigger><br />
                                <EventTrigger RoutedEvent="Border.MouseLeave"><br />
                                    <EventTrigger.Actions><br />
                                        <BeginStoryboard><br />
                                            <Storyboard><br />
                                                <ColorAnimation Storyboard.TargetName="brush" Storyboard.TargetProperty="Color" To="Transparent" Duration="0:0:0.5"></ColorAnimation><br />
                                            </Storyboard><br />
                                        </BeginStoryboard><br />
                                    </EventTrigger.Actions><br />
                                </EventTrigger><br />
                            </Border.Triggers>

Thanks in advance for help
AnswerRe: Styles in WPF Pin
_iobuf28-Oct-08 7:02
_iobuf28-Oct-08 7:02 
GeneralRe: Styles in WPF Pin
Yoyosch28-Oct-08 8:10
Yoyosch28-Oct-08 8:10 
GeneralRe: Styles in WPF Pin
_iobuf28-Oct-08 8:15
_iobuf28-Oct-08 8:15 
GeneralRe: Styles in WPF Pin
Yoyosch28-Oct-08 9:47
Yoyosch28-Oct-08 9:47 
GeneralRe: Styles in WPF Pin
_iobuf28-Oct-08 9:52
_iobuf28-Oct-08 9:52 
QuestionProblem with using thread and event in WPF Pin
Czechtim228-Oct-08 0:48
Czechtim228-Oct-08 0:48 
AnswerRe: Problem with using thread and event in WPF Pin
Pete O'Hanlon28-Oct-08 4:45
mvePete O'Hanlon28-Oct-08 4:45 
GeneralRe: Problem with using thread and event in WPF Pin
Czechtim229-Oct-08 12:05
Czechtim229-Oct-08 12:05 
GeneralRe: Problem with using thread and event in WPF Pin
Pete O'Hanlon29-Oct-08 23:44
mvePete O'Hanlon29-Oct-08 23:44 
QuestionBegin editing of ListView manually Pin
elektrowolf27-Oct-08 5:55
elektrowolf27-Oct-08 5:55 
AnswerRe: Begin editing of ListView manually Pin
Pete O'Hanlon27-Oct-08 6:14
mvePete O'Hanlon27-Oct-08 6:14 
QuestionCan we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Mohammad Dayyan25-Oct-08 6:32
Mohammad Dayyan25-Oct-08 6:32 
AnswerRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Timmy Kokke25-Oct-08 8:13
Timmy Kokke25-Oct-08 8:13 
AnswerRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Pete O'Hanlon25-Oct-08 8:29
mvePete O'Hanlon25-Oct-08 8:29 
GeneralRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Mohammad Dayyan2-Nov-08 3:27
Mohammad Dayyan2-Nov-08 3:27 
GeneralRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
Pete O'Hanlon3-Nov-08 8:31
mvePete O'Hanlon3-Nov-08 8:31 
AnswerRe: Can we import 3DMax's models ( *.max files) in Expression Blend ? Pin
User 27100925-Oct-08 9:23
User 27100925-Oct-08 9:23 

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.