Click here to Skip to main content
15,887,998 members
Home / Discussions / WPF
   

WPF

 
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 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
Mark Salsbery14-Aug-09 10:22
Mark Salsbery14-Aug-09 10:22 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
fiaolle14-Aug-09 21:23
fiaolle14-Aug-09 21:23 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
Mark Salsbery15-Aug-09 5:55
Mark Salsbery15-Aug-09 5:55 
GeneralRe: Have had troubles with WCF in Silverlight for two weeks Help!!! Pin
Adam Maras14-Aug-09 21:46
Adam Maras14-Aug-09 21:46 
QuestionWindowState.Maximized -- How to get the proper size of the window? [modified] Pin
Cristoff13-Aug-09 22:01
Cristoff13-Aug-09 22:01 
QuestionWPF Expander Control Template Modification Pin
Kunal Chowdhury «IN»13-Aug-09 20:47
professionalKunal Chowdhury «IN»13-Aug-09 20:47 
AnswerRe: WPF Expander Control Template Modification Pin
Mark Salsbery14-Aug-09 6:28
Mark Salsbery14-Aug-09 6:28 
QuestionUpload large files Pin
Tarun.Suneja12-Aug-09 20:34
Tarun.Suneja12-Aug-09 20:34 

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.