Click here to Skip to main content
15,891,136 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Silverlight MediaElement to play video Pin
Mark Salsbery4-Mar-09 5:40
Mark Salsbery4-Mar-09 5:40 
GeneralRe: Silverlight MediaElement to play video Pin
pavanip4-Mar-09 20:53
pavanip4-Mar-09 20:53 
GeneralRe: Silverlight MediaElement to play video Pin
Mark Salsbery4-Mar-09 21:12
Mark Salsbery4-Mar-09 21:12 
Question[Message Deleted] Pin
Prajeesh1-Mar-09 17:35
Prajeesh1-Mar-09 17:35 
AnswerRe: Thumbnail in StackPanel Pin
ABitSmart1-Mar-09 17:55
ABitSmart1-Mar-09 17:55 
AnswerRe: Thumbnail in StackPanel Pin
Pete O'Hanlon1-Mar-09 21:27
mvePete O'Hanlon1-Mar-09 21:27 
QuestionHow could I make this effect??? Pin
mildred-frontfree26-Feb-09 16:53
mildred-frontfree26-Feb-09 16:53 
AnswerRe: How could I make this effect??? Pin
Insincere Dave27-Feb-09 6:23
Insincere Dave27-Feb-09 6:23 
The Clip and OpacityMask properties allow you to mask areas. The OpacityMask is the most powerful you could set it to a VisualBrush which animates.

public partial class Window1 : Window
{
	public Window1()
	{
		InitializeComponent();

		Background = Brushes.Black;

		var content = new Canvas() { Background = Brushes.Orange };
		var mask = new Canvas() { Width = 300, Height = 300,Background = Brushes.Transparent};
		var rectangle = new Rectangle() { Width = 0, Height = 300, Fill = Brushes.White };
		mask.Children.Add(rectangle);

		var brush = new VisualBrush(mask) { AutoLayoutContent = true };
		var anim = new DoubleAnimation(300, TimeSpan.FromSeconds(3));
		rectangle.BeginAnimation(Rectangle.WidthProperty, anim);
		content.OpacityMask = brush;
		Content = content;
	}
}

QuestionItemsControl with multiple sources Pin
Jozef Hopko26-Feb-09 12:19
Jozef Hopko26-Feb-09 12:19 
AnswerRe: ItemsControl with multiple sources Pin
ABitSmart26-Feb-09 16:17
ABitSmart26-Feb-09 16:17 
GeneralRe: ItemsControl with multiple sources Pin
Jozef Hopko26-Feb-09 18:31
Jozef Hopko26-Feb-09 18:31 
GeneralRe: ItemsControl with multiple sources Pin
ABitSmart27-Feb-09 6:19
ABitSmart27-Feb-09 6:19 
QuestionDynamically add images Pin
TerRO_GirL26-Feb-09 10:43
TerRO_GirL26-Feb-09 10:43 
AnswerRe: Dynamically add images Pin
ABitSmart26-Feb-09 16:11
ABitSmart26-Feb-09 16:11 
Questiontrap the click event for a button that is in the resourcedictionary Pin
AAKAra26-Feb-09 9:45
AAKAra26-Feb-09 9:45 
AnswerRe: trap the click event for a button that is in the resourcedictionary Pin
ABitSmart26-Feb-09 16:50
ABitSmart26-Feb-09 16:50 
QuestionWPF and MDI? From external *.exe? Pin
softwarejaeger25-Feb-09 20:45
softwarejaeger25-Feb-09 20:45 
AnswerRe: WPF and MDI? From external *.exe? Pin
Pete O'Hanlon25-Feb-09 21:38
mvePete O'Hanlon25-Feb-09 21:38 
GeneralRe: WPF and MDI? From external *.exe? Pin
softwarejaeger26-Feb-09 7:13
softwarejaeger26-Feb-09 7:13 
GeneralRe: WPF and MDI? From external *.exe? Pin
Pete O'Hanlon26-Feb-09 9:28
mvePete O'Hanlon26-Feb-09 9:28 
QuestionINotifyPropertyChanged and ObservableCollection question Pin
BlitzPackage25-Feb-09 10:29
BlitzPackage25-Feb-09 10:29 
AnswerRe: INotifyPropertyChanged and ObservableCollection question Pin
Pete O'Hanlon25-Feb-09 11:27
mvePete O'Hanlon25-Feb-09 11:27 
GeneralRe: INotifyPropertyChanged and ObservableCollection question Pin
BlitzPackage25-Feb-09 13:16
BlitzPackage25-Feb-09 13:16 
GeneralRe: INotifyPropertyChanged and ObservableCollection question Pin
Pete O'Hanlon25-Feb-09 21:31
mvePete O'Hanlon25-Feb-09 21:31 
QuestionNot able to set the default style for the controls with generic.xaml Pin
salon24-Feb-09 20:33
salon24-Feb-09 20:33 

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.