C# Corner

Resources  
  • Working with GDI+ Brushes Jan 30, 2001. This tutorial explains how to work with texture, solid, gradient, and hatch brushes.
  • Graphics Programming in C#Dec 26, 2001. The new improved version of GDI is called GDI+. The .NET framework provides a rich set of classes, methods and events for developing applications with graphical capabilities.
  • Scramble for Pocket PCSep 19, 2002. This article shows you how to write Scramble for Pocket PC.
  • Custom Drawing Cursors in C#Mar 14, 2006. Some time ago I have decided to try to make something like a "Photoshop" in C#. The first problem has appeared was custom cursors. If you are familiar with "Photoshop" you know that when you change brush size the cursor size also changes. This is solution to make this possible in C# .
  • WPF Application for Importing ESRI ShapefilesFeb 26, 2007. A standalone application for reading ESRI shapefiles and displaying them on a WPF Canvas.
  • Animating your XAML AppsApr 05, 2007. This article will describe how to do 2D Animation using XAML Scripts. In the article we will describe how to implement transforms on XAML shapes and then how to move them around in your form.
  • Play Video in WPFApr 09, 2007. If you have built any video enabled application prior to WPF, you must be familiar with the Windows Media Player ActiveX control. The WPF library provides the MediaElement control that encapsulates Windows Media Player functionality.
  • Programming XAML - A Quick StartApr 10, 2007. XAML is a new descriptive programming language that is used to define user interfaces in WPF, Silverlight and Windows 8 Metro Style Apps. This article is an introduction to XAML.
  • Digital Ink in WPFApr 11, 2007. Digital ink used to only be available as part of the Tablet PC SDK. Now it is bundled with Windows Presentation Foundation. This tutorial demonstrates how easy it is to integrate digital ink into your Avalon applications using XAML and C#.
  • XML Data Binding in WPFApr 11, 2007. This article describes how to bind XML data using a data template in WPF and XAML. For ease of demonstration, the XML is defined as a resource within the XAML document.
  • WPF ComboBox doesn't bind correctly - Binding to Nullable Ints Jun 07, 2007. If you have been working with WPF and have had issues with your ComboBox or any list control binding then you can stop pulling your hair out.
  • A glance at .NET Framework 3.0Jul 17, 2007. This article glances on what is new in .NET Framework 3.0 and how this version is different from all previous versions of .NET?
  • Data Binding in WPF Windows ApplicationAug 23, 2007. In this tutorial I will discuss on how to bind Data with WPF windows application.
  • WPF ListBoxAug 31, 2007. This tutorial shows you how to work with the ListBox control available in WPF.
  • Creating MenuItem With WPFSep 03, 2007. In any desktop application it is very important to have menu bar to the application/system, so that user will find easy to access it. In this tutorial I will be talking about how we can create Menu bar in WPF application using XAML.
  • WPF Database Communication Adding new Record to the DatabaseSep 06, 2007. WPF Database communication Adding new record to the database (XAML-MS-Access), I have a XAML form with FirstName, LastName, Email & Contact fields in it on click of submit button it will first check if the same email address is exists in the table else it will add new record I have made use of OleDbTransaction to perform add functionality.
  • Expander Control in WPFOct 02, 2007. This article and source code show how to use Expander control in WPF.
  • Working with 2D Graphics in WPFOct 03, 2007. This article provides an introduction of 2D drawings in WPF.
  • Data Binding in WPF ListViewOct 05, 2007. This article shows how to extract data from a database and show in a WPF ListView control.
  • Implementing a Simple Silverlight ControlOct 30, 2007. This article shows how to implement a simple button control using Silverlight 1.1 and C#.
  • Chapter 2: Programming WPF ApplicationsJan 09, 2008. This article describes the framework that WPF offers and also tells the differences between Browser based and Windows based installed applications.
  • Chapter I: Introducing WPFApr 22, 2008. This chapter provides you a brief knowledge about the Windows Presentation Foundation (WPF)
  • Making Transparent Control using GDI+ and C# (Updated to NET 3.5)Jun 10, 2008. This article provides an approach to a Transparent Control that draws an ellipse with real transparent background and a brush that supports transparent colors.
  • Using Windows Forms Controls in WPFJun 20, 2008. In this tutorial, you will learn how to use existing Windows Forms controls in a WPF application. I have used Visual Studio 2008 to create this tutorial.
  • User Control in WPFJun 30, 2008. This article discusses how to create a User Control in XAML and WPF using Visual Studio 2008 and how to use it in a WPF application.
  • Animated Banners in XAMLJul 02, 2008. This article shows how to use animation related controls in XAML to create an animated banner with animations such as gradient colors, text rotation, and resize the banner text.
  • Creating Fancy Tooltips in WPFJul 14, 2008. Each control in WPF has a Tooltip property that can be accessed through XAML or code behind. This article shows how to create a fancy tooltip in XAML and WPF.
  • Transferring data from one ListBox to another in WPFJul 28, 2008. This article discusses how we can transfer items from one ListBox to another in WPF.
  • Menus in WPFJul 29, 2008. This tutorial shows you how to create and use a Menu control available in Windows Presentation Foundation (WPF).
  • SoundPlayer in WPFJul 29, 2008. The code snippet in this article shows how to play sounds in WPF.
  • Your first animations using XAML and Silverlight- Double animation: Part IIJul 30, 2008. In the previous article "Your first animations using xaml and silverlight - Color animation: Part I", we've exposed a technique of how to deal with color animation. In this article, I will do same thing but with a different animation. I mean the DoubleAnimation class this time.
  • Brushes in WPFJul 30, 2008. This article discusses types of brushes found in WPF and how to use them in your applications.
  • Drawing Shapes in WPF Jul 31, 2008. This article is an introduction to graphics programming in XAML and WPF. In this article, I discuss various graphics objects including lines, rectangles, ellipses, and paths and how to draw them using XAML and WPF.
  • Your first Animation using XAML and Silverlight - Point Animation class: Part IIIAug 04, 2008. This article is third part of the series of articles about animation using XAML and Silverlight.
  • Media Player in WPFAug 04, 2008. This tutorial shows you how to play and control media files in WPF and XAML using WPF Media controls.
  • Data Binding in WPFAug 05, 2008. In this article, I discuss how we can use ADO.NET DataSet to get data from a database and bind to a WPF ListBox control using data binding process in WPF.
  • Data Binding in WPF ControlsAug 11, 2008. This article shows how to add data binding support among controls in WPF.
  • Integrate WPF Control in your Excel SolutionsAug 11, 2008. In this article, I will show that it is possible to host a WPF control in a excel solution even that Visual studio and the .Net framework doesn’t provide us a way to host directly a given WPF control in an Excel application. To know how to realize such task, then follow this walkthrough.
  • Hosting a Windows Control in WPF ApplicationAug 12, 2008. In my previous article, I demonstrated how to host a WPF control within a windows application and in this tutorial, I will show how to host a windows form control within a WPF application.
  • Image Viewer in WPFAug 12, 2008. ImageViewer is an open source project written in WPF and C# that allows users to view images and manipulate them.
  • Host a WPF control in a windows applicationAug 12, 2008. In this walkthrough, I will demonstrate how to host a WPF control in a windows application.
  • Working with WPF Table using XAML - Part IAug 12, 2008. In this article, I will use WPF table in XAML format. This one defines a flexible grid area that contains rows and columns. At the contrast of the Grid object witch is defined in the System.Windows.Controls, the table object is defined in the System.Windows.Documents namespace.
  • How to Define and Configure a Grid Control Within a WPF Aplication Using XAML: Part IAug 13, 2008. In this article, I will try to make a representation of the Grid object witch is directly derived from the Panel abstract class and we can say that is a flexible area that contains rows and columns, it plays a role of container in a given WPF window.
  • WPF ProgressBar Aug 15, 2008. This tutorial shows you how to create and use a ProgressBar control available in Windows Presentation Foundation (WPF) and XAML.
  • WPF SliderAug 18, 2008. This article shows how create and use a slider control using WPF and XAML.
  • How to Define and Configure a Grid Control Within a WPF Application Using C#: Part IIAug 18, 2008. In a previous article, we discovered how to define and configure a Grid control using XAML. In this second article I’ll demonstrate how to do the same task using the code behind, I mean using C#.
  • WPF PopupAug 18, 2008. This tutorial shows you how to create and use a Popup control available in Windows Presentation Foundation (WPF) and XAML.
  • Bitmap Effects using WPFAug 19, 2008. This article shows how to give Bitmap Effect in WPF.
  • UniformGrid in WPFAug 20, 2008. This article show how to use UniformGrid in WPF(Windows Presentation Foundation).
  • ControlTemplate in WPFAug 20, 2008. In this article I will show you how to use ControlTemplate to controls in WPF(Windows Presentation Foundation).
  • WPF TextBoxAug 21, 2008. This article shows how to use and work with the TextBox control available in WPF and XAML.
  • Working With a ScrollViewer Control in a WPF ApplicationAug 21, 2008. The ScrollViewer is an object that represents a scrollable area that contains other visible controls, it could be found within the System.Windows.Controls. At the contrast of a ScrollBar object, the ScrollViewer is a WPF new feature. So let’s discover its principal characteristics through this article.
  • Working with the Uniform Grid in WPFAug 22, 2008. In this article I will introduce the Uniform Grid object. The uniform grid object arranges content in its area so that all the cells in the grid have the same dimension. It represents a perfect solution if someone prefers to prevent the headache of ordering controls within an ordinary Grid object.
  • Working with WPF ViewBox ControlAug 22, 2008. In this article, we will show how to use a ViewBox control available in WPF and XAML.
  • ListBox in WPFAug 26, 2008. This tutorial shows you how to create and use a ListBox control in WPF and XAML. The tutorial also covers styling and formatting, add images, checkboxes, and data binding in a ListBox contrtol.
  • Working with WPF Table using C# - Part IIAug 26, 2008. In the previous article, Working with WPF Table using XAML - Part I, we discovered how to perform this task using XAML. Now, we will see how to do the same using C#.
  • WPF CalculatorAug 26, 2008. The attached source code with this article is a calculator application developed using XAML and WPF.
  • RadioButton in WPFAug 27, 2008. This tutorial shows you how to create and use a RadioButton control available in Windows Presentation Foundation (WPF) and XAML.
  • Working with the frame objectAug 28, 2008. In this article, I will represent the frame object witch is a container control that enables to navigate through internet and display some contents such as an Html page.
  • Dynamic and static Rectangle in WPFAug 29, 2008. This article shows how to create dynamic and static rectangle in WPF and XAML with various drawing effects.
  • User Controls in WPFSep 01, 2008. This articles describes how to create and use User Controls in WPF.
  • Skins in WPFSep 11, 2008. This sample shows how to use Skins in WPF(Windows Presentation Foundation).
  • Visual Brush in WPFSep 23, 2008. This article shows how to use a VisualBrush in WPF and XAML.
  • Cropping or Clipping in WPFNov 06, 2008. The Clip property of an element (defined in the UIElement class) is used to clip a region and represents the geometry that defines the content of an element.
  • Drawing Bezier Curves in WPFNov 07, 2008. This article shows how to implement Bezier curves in WPF.
  • Image Slideshow in WPFNov 17, 2008. In this article, I will create a simple image slideshow using WPF and C#.
  • Introducing Deep Zoom ComposerNov 19, 2008. This tutorial is an introduction to the Deep Zoom Composer and how to use it to build zoom and pan enabled Silverlight applications with the help of Expression Blend and Visual Studio 2008.
  • The "SplashScreen" parameter is not supported by the "MarkupCompilePass1" ErrorNov 26, 2008. You get the "SplashScreen" parameter is not supported by the "MarkupCompilePass1" error message when create and run WPF applications in Visual Studio 2008 SP1.
  • Silverlight Canvas ControlDec 02, 2008. The Canvas control, used as a container for child controls, defines functionality to position the child controls. This article demonstrates how to create and use a Canvas control in Silverlight using C# and XAML.
  • Dependency Property in XAML Dec 23, 2008. This article will exaplain about Dependency Property in XAML and WPF.
  • Draw a smooth curve through a set of 2D points with Cubic SplineDec 24, 2008. Calculate tabulated function cubic spline and approximate comprising polynomials with polylines to use them with drawing primitives.
  • WPF AutoComplete Folder TextBoxDec 29, 2008. This article demos how to create a TextBox control that can suggest items at runtime based on input such as disk drive folders on a machine.
  • (WPF) Windows Presentation Foundation - FAQJan 02, 2009. In this section we will make a quick walkthrough of WPF which will help you understand WPF instantly.
  • TextBox in WPFJan 05, 2009. This article demonstrates how to create and use a TextBox control in WPF using XAML and C#.
  • ComboBox in XAMLJan 06, 2009. ComboBox is the most useable control in programming. In .NET 3.0 it is different from all previous version of .NET.
  • TextBlock in WPFJan 06, 2009. In this article, I discussed how we can create and format text in a TextBlock control available in WPF and C#.
  • ListBox in WPFJan 08, 2009. This article demonstrates how to create and use a ListBox control in WPF.
  • Agile Development: Part IIJan 09, 2009. This article is a quick FAQ of Agile. By reading this you will understand fundamentals of Agile and different ways of implementing Agile.
  • WPF ComboBox at a Glance - Overview Jan 13, 2009. This is a simple article to show the data into Combobox usinf WPF, you can use multiple columns in a combobox.
  • Demonstration of ListView Contents in WPFJan 14, 2009. This article shows how to create a ListView control that uses a GridView view mode to display the contents.
  • Implementing Opacity Masks in WPFJan 29, 2009. Opacity masks allow us to make portions of an object transparent or semi transparent. This article demonstrates how to implement opacity masks feature in WPF objects such as a Rectangle and an Image.
  • Tab Control in WPFJan 29, 2009. In this article I am going to explain how to implement tabcontrol in WPF.
  • Drawing Bezier Curves in WPFJan 30, 2009. This article shows how to implement Bezier curves in WPF.
  • Button Control in WPFFeb 02, 2009. This tutorial demonstrates how to create and use a Button control in WPF using XAML and C#.
  • WrapPanel in WPFFeb 05, 2009. A WrapPanel control is used to arrange child controls to arrange vertically or horizontally. This article demonstrates how to create and use a WrapPanel control in WPF using XAML and C#.
  • WPF Controls,Layout panel and Graphics primitivesFeb 11, 2009. In this article you will learn how to use Controls,Layout Panel and Graphics primitives in WPF.
  • Two-Way Databinding in WPFFeb 16, 2009. This article kick starts your two way data-binding model in WPF.
  • WPF LinearGradientBrush using XAMLFeb 25, 2009. This article and code snippet explains how to fill gradient color in the background of controls in WPF using XAML.
  • DrawingBrush in WPFFeb 26, 2009. Through this article I am going to discuss DrawingBrush in WPF, and its properies and how we can use in our application.
  • Working with WPF TreeViewFeb 27, 2009. This tutorial shows you how to work with a TreeView control available in WPF and XAML.
  • Image Brush in SilverlightMar 02, 2009. This article demonstrates how to use an ImageBrush in Silverlight and XAML to view images in C#.
  • Introduction to "Acropolis"Mar 12, 2009. This article explains about Microsoft code-named Acropolis for creating windows client applications.
  • Windows Presentation Foundation (WPF) Beginners FAQ Mar 13, 2009. In this article we will go through FAQ's from WPF section. We will start first with understanding why WPF..? and later we will create a small sample hello world project for WPF which will make us understand WPF much better.
  • Implementing Inheritance (Base-Class/Derived-Class) model in WPF.Mar 17, 2009. This article shows how to implement inheritance modal in WPF and a practical scenario to get a feel of concept.
  • WPF Practical SolutionsApr 06, 2009. This document describes step by step solution to some of general problems developer face in wpf application.
  • Create Navigation Based Application in WPFApr 06, 2009. This article will demonstrate how to create the Navigation Based Windows Application in WPF.
  • LinearGradientBrush in SilverlightApr 16, 2009. This article demonstrates how to use a linear gradient brush in Silverlight using XAML and C#.
  • RadialGradientBrush in SilverlightApr 16, 2009. This article demonstrates how to use a radial gradient brush in Silverlight using XAML and C#.
  • SolidColorBrush in SilverlightApr 16, 2009. This article demonstrates how to use a solid brush in Silverlight using XAML and C#.
  • Cascading Dropdown & Multiselect option in ListBox using WPFMay 10, 2009. Many times we come across the situation where we need to populate the dropdowns based on the value of another dropdown or combo.

About WPF-Brushes

NA

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
European SharePoint Conference