Click here to Skip to main content
15,910,471 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Binding images to an ImageButton at runtime Pin
Pete O'Hanlon17-Aug-09 22:41
mvePete O'Hanlon17-Aug-09 22:41 
GeneralRe: Binding images to an ImageButton at runtime Pin
Wolfram Steinke18-Aug-09 14:15
Wolfram Steinke18-Aug-09 14:15 
GeneralRe: Binding images to an ImageButton at runtime Pin
Christian Graus18-Aug-09 15:24
protectorChristian Graus18-Aug-09 15:24 
GeneralRe: Binding images to an ImageButton at runtime Pin
Pete O'Hanlon18-Aug-09 21:42
mvePete O'Hanlon18-Aug-09 21:42 
GeneralRe: Binding images to an ImageButton at runtime Pin
Wolfram Steinke19-Aug-09 1:43
Wolfram Steinke19-Aug-09 1:43 
GeneralRe: Binding images to an ImageButton at runtime Pin
Pete O'Hanlon19-Aug-09 2:22
mvePete O'Hanlon19-Aug-09 2:22 
GeneralPaint.Net for WPF Pin
sufiyan_ansari117-Aug-09 6:27
sufiyan_ansari117-Aug-09 6:27 
GeneralRe: Paint.Net for WPF Pin
Christian Graus17-Aug-09 16:54
protectorChristian Graus17-Aug-09 16:54 
QuestionWPF user interface stored in DB Pin
kstxx17-Aug-09 0:49
kstxx17-Aug-09 0:49 
AnswerRe: WPF user interface stored in DB Pin
Pete O'Hanlon17-Aug-09 1:13
mvePete O'Hanlon17-Aug-09 1:13 
GeneralRe: WPF user interface stored in DB Pin
kstxx17-Aug-09 1:19
kstxx17-Aug-09 1:19 
GeneralRe: WPF user interface stored in DB Pin
Pete O'Hanlon17-Aug-09 1:36
mvePete O'Hanlon17-Aug-09 1:36 
QuestionCalling IContextMenu with a WPF ContextMenu - need HMENU Pin
seguso16-Aug-09 22:38
seguso16-Aug-09 22:38 
AnswerRe: Calling IContextMenu with a WPF ContextMenu - need HMENU Pin
Pete O'Hanlon16-Aug-09 23:22
mvePete O'Hanlon16-Aug-09 23:22 
QuestionApplying a selection effect on 3D models Pin
Etienne_12316-Aug-09 7:01
Etienne_12316-Aug-09 7:01 
AnswerRe: Applying a selection effect on 3D models Pin
Pete O'Hanlon16-Aug-09 9:35
mvePete O'Hanlon16-Aug-09 9:35 
You could do this using a ColorAnimationUsingKeyFrames as in the following sample:
<Window
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Class="FadeSample.Window1"
  x:Name="Window"
  Title="Window1"
  Width="640" Height="480">
  <Window
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Class="FadeSample.Window1"
  x:Name="Window"
  Title="Window1"
  Width="640" Height="480">
  <Window.Resources>
    <Storyboard x:Key="OnClick1">
      <ColorAnimationUsingKeyFrames 
        BeginTime="00:00:00" Storyboard.TargetName="button" 
        Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
        <SplineColorKeyFrame KeyTime="00:00:01" Value="#FFEF1407"/>
      </ColorAnimationUsingKeyFrames>
    </Storyboard>
  </Window.Resources>
  <Window.Triggers>
    <EventTrigger 
      RoutedEvent="ButtonBase.Click" SourceName="button">
      <BeginStoryboard Storyboard="{StaticResource OnClick1}"/>
    </EventTrigger>
  </Window.Triggers>

  <Grid x:Name="LayoutRoot">
    <Button 
      HorizontalAlignment="Left" 
      VerticalAlignment="Top" 
      Content="Button" 
      RenderTransformOrigin="3.339,5.055" 
      Margin="120,115,0,0" 
      Background="#FFDF891A" 
      x:Name="button"/>
  </Grid>
</Window>


"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: Applying a selection effect on 3D models Pin
Etienne_12317-Aug-09 7:07
Etienne_12317-Aug-09 7:07 
GeneralRe: Applying a selection effect on 3D models Pin
Etienne_12318-Aug-09 4:55
Etienne_12318-Aug-09 4:55 
QuestionNeed help with styling a groupbox Pin
Etienne_12315-Aug-09 9:50
Etienne_12315-Aug-09 9:50 
AnswerRe: Need help with styling a groupbox Pin
Pete O'Hanlon15-Aug-09 10:56
mvePete O'Hanlon15-Aug-09 10:56 
GeneralRe: Need help with styling a groupbox Pin
Etienne_12315-Aug-09 21:42
Etienne_12315-Aug-09 21:42 
GeneralRe: Need help with styling a groupbox Pin
Etienne_12315-Aug-09 22:06
Etienne_12315-Aug-09 22:06 
QuestionHave had troubles with WCF in Silverlight for two weeks Help!!! Pin
fiaolle14-Aug-09 7:41
fiaolle14-Aug-09 7:41 
AnswerRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
Mark Salsbery14-Aug-09 8:57
Mark Salsbery14-Aug-09 8:57 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
fiaolle14-Aug-09 9:29
fiaolle14-Aug-09 9:29 

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.