Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group

XAMLTips

Showing posts with label XAMLTips. Show all posts

Continuing the series of blog posts on WPF ListView/GridView control, today we will learn how to set the background color (more precisely, ‘the Style’) of a WPF ListView/GridView control’s row based on some specific parameter passed as the data.

 

You may want to give your user a proper visual by providing a different style to that specific row. Let’s discuss with a simple example.

Published by on under Tips | Tutorial

The 'ListView' control provides you the base to display a set of data items in a WPF (Windows Presentation Foundation) application in different layouts or views. In case you are working to show a dataset in your WPF app, this post will help you to get started with it.

 

In this blog post, we will learn about the ListView control with a basic layout followed by advance layout with a GridView. Continue reading further.

Published by on under .Net | Tutorial

Not many of us wants to work in the designer view of Visual Studio while working with the XAML files. This could be due to no requirements of changing the UI layout rather than few data bindings. By default, Visual Studio loads the XAML designer view.

 

In this post we are going to learn how to disable the designer view and/or change the way it loads the default document view.

Published by on under Tips | Visual Studio 2015

Style inheritance in XAML? Sounds funny? No. If we have inheritance in classes, CSS styles; then why not in XAML styles? There are many such occasions when we need to copy the same style in multiple templates/styles of a control.

 

In this post, we will learn how to use a single piece of style and use it in other place to inherit the common styling. If you are using XAMLs excessively, this might be a very good topic for you.

Published by on under Silverlight | Win8Dev

Microsoft Visual Studio 2013 RC (Release Candidate) is already there and I hope, many of you already downloaded it and started exploring the new features and enhancements part of the release candidate. Visual Studio 2013 provides us a better way to handle XAML pages.

 

In this blog post, we will learn the new feature introduced to better commenting XAML codes inside Visual Studio 2013 IDE. You will definitely like it.

Published by on under Visual Studio 2013 | VisualStudio

How to Crop an Image based on a Shape or Path control?

In the last post we discussed “How to Crop an Image using the WriteableBitmap class”. If you didn’t read it yet, first try to understand that before reading this post as we are going to use it in this post very frequently.

 

Today in this post we are going to learn how to crop an image in different shapes like rectangle, circle or any other different complex shapes programmatically.

Published by on under Silverlight | SilverlightTips

Last day we discussed about “Silverlight Page Navigation Framework” where we understood the basic concept. We learnt how to add pages in the project from the template and the root of the page xaml. We also learnt about the assembly which we need to use to develop a navigation application using Silverlight.

 

Today in this post, we will discuss about Uri Mapping which will help you to implement the navigation application very easily. You will also be able to hide the actual Url of the page. We will discuss about each point in brief with a simple example continuing from previous post.

Published by on under Silverlight | SilverlightTips

Let us start with a three days tutorial series on Silverlight Navigation Framework. Today in this post, we will discuss about Page Navigation Framework in Silverlight. Here we will learn what the Page is, how to kick start with navigation framework and details about this.

 

This post will help to understand the basic knowledge of it. You will find it handy while developing your Silverlight application. Next two days, we will learn how to map a page URL and pass parameter to the page using a small and simple example. Continue reading to learn more about it.

Published by on under Silverlight | SilverlightTips

Few days ago, I published a XAML Tips "How to Convert a Rectangle to a Path Control using Expression Blend?". Today in this post, we will discuss on another tips similar to that post. In this post, we will discuss on the steps to crop an element to give a desired output.

 

This post will help a beginner who just started designing XAML using Expression Blend. Hope, this small tip will help you to understand it in better way. Read to know more on this topic.

Published by on under CodeProject | DZone