MyColor.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
MyColor.cs
Drag object using MouseLeftButtonDown, MouseLeftButtonUp and MouseMove. When we drag object using mouse and if object's any part is going outside parent panel then the parent panel margin automatically update and try to in that object.
using System.Windows.Media; namespace EffectFeatures { public class MyColor { public static Color[] Row = { Color.FromRgb(20, 15, 0), Color.FromRgb(20, 0, 15), Color.FromRgb(10, 0, 20), Color.FromRgb(0, 10, 20), Color.FromRgb(0, 20, 15), }; public static Color[] Effect = { Color.FromRgb(255, 165, 0), Color.FromRgb(255, 0, 165), Color.FromRgb(165, 0, 255), Color.FromRgb(0, 165, 255), Color.FromRgb(0, 255, 165), }; } }
- MainWindow.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
- MyRowControl.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
- MyRowTest.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
- MyColor.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
- RightEffectControl.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
- RightEffectRowContainer.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
- RightEffectRow.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
- RightEffect.cs | Drag Object To Scroll In WPF C# | Amit Padhiyar | Saatody
Comments
Post a Comment