Showing posts with label Wpf Tutorials. Show all posts
Showing posts with label Wpf Tutorials. Show all posts

Sunday, September 30

Drag Object with click event inside Window (WPF c# application)

NameSpace: System.Windows.Controls.Primitives.Thumb
Download Here



The Thumb control provides drag functionality that can be used to move or resize controls by monitoring the DragStartedDragDelta and DragCompleted events of the Thumb.
The user begins a drag operation by pressing the left mouse button when the mouse pointer is paused on the Thumb control. The drag operation continues as long as the left mouse button remains pressed. During the drag operation, the DragDelta can occur more than once. Each time it occurs, the DragDeltaEventArgs class provides the change in position that corresponds to the change in mouse position. When the user releases the left mouse button, the drag operation is finished. The drag operation only provides new coordinates; it does not automatically reposition the Thumb.

Thursday, July 19

Reflection Effect in WPF (XAML Code)


Refection effect in wpf(Windows Presentation foundation) very simple application. First of all start a wpf project then drag and drop rectangle control on the mainWindow. In this illustration I’m using rectangle control you can either use border control and image control according to your requirements. Fill the desired gradient in rectangle you just dropped on the mainWindow.

Tuesday, July 17

MYSQL Connection with C# WPF Application

Download Here: MySQL_C#WPF_Connection
Hello guys, today i’m gonna teach you how to connect MYSQL with MS visual studio c#. This tutorial is about MySQL workbench 5.2 and MySQL server 5.5, make sure both are installed in your PC.so let’s get started first of all open MySQL workbench 5.2 then click on New Server Instance. And follow the steps to configure your server. When you are done make a database let’s say I made a database name “Text” and Server name is Localhost.

Tuesday, January 17

Media Player Guide in WPF (XAML) and c# code

Hello Guys, today i'm gonna show you how to make media player in wpf application, its very simple, so lets get started.
Steps

  • Lets begin with xaml (Designe) code of application. Wpf provides Media Element control which is used to load media files, in the toolbox you will find it, you can drag and drop onto your mainWindow or write a xaml code, Media Element is the class so in the angular brackets you will write MediaElement then you will give Name to your Media Element, Name is same like you are creating an object of respective class.