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

WPF

Showing posts with label WPF. Show all posts

Microsoft recently released Visual Studio 2019 version 16.10, and along with that, the company also released Visual Studio 2019 version 16.11 Preview 1. In this first preview release of Visual Studio 2019 version 16.11, Microsoft added the new Hot Reload user experience to the IDE.

 

So, what does it mean? How will you get beneficial with that Hot Reload User Experience feature of Visual Studio 2019? Let's drive into details to learn more about it.

Published by on under .Net | ASP.NET Core

During the Microsoft Connect(); 2018 Conference, Microsoft announces that the Windows Presentation Framework (WPF), Windows Forms and the Windows XAML Library (WinUI) are now open source and hosted on GitHub.

 

That means that, you can now contribute to these projects in their respective Git repositories. Are you ready to start contributing?

Published by on under News | WinDev

It gives me immense pleasure to announce that my second book, titled Windows Presentation Foundation Development Cookbook, has been published by Packt Publication. You can now buy this book from publisher's website, Amazon and will gradually be available on Flipkart.

 

If you are a beginner or an intermediate, and would like to learn about WPF, this book is for you. It covers almost all the topics that you need to learn.

Published by on under Book | News

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

In general case, the header/title of a WPF ListView/GridView columns are aligned in the center and hence in many cases you will need to align the column header/title to left or right (based as per your business requirement).

 

Today we will learn how to do this in the XAML itself by creating a proper style for the column header. Continue reading to know the trick.

Published by on under .Net | Tips

As we learnt, the 'ListView' control provides you the base to display a set of data items or records in a WPF application. In last blog post, we learnt how to group the records in WPF ListView/GridView controls and design the UI to group using the Expander control.

 

Today in this small blog post, we will learn how to sort the records easily. You can either choose to sort from XAML or code, but here we will discuss how to do it from code.

Published by on under .Net | Tips

Many time we need to show a set of records grouped by a specific field. If you are building Windows app using WPF control, it is very simple to implement using the List View control that we already discussed in the last blog post.

 

Today we are going to discuss how easy it is to add support for grouping in the list. Continue to know about it and implement the same with a simple example.

Published by on under .Net | Tips

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

Sometime we need to export data as Excel report. This can be a plain Console application or a high end desktop and/or web application. You can of course do this using plugins/add-ons but what if you don’t have permission to use any 3rd party assemblies in your application?

 

Okay, in this post we are going to discuss this with help of a simple Silverlight & C# application but logic will be same in other platforms/technologies too. Keep reading.

Published by on under .Net | CodeProject

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

If you are working on Silverlight and/or WPF project and using Telerik RadControls library, you might be aware of RadDiagram and RadDiagramToolbox. When you add gallery items in RadDiagramToolbox, by default it comes in three columns.

 

In some business scenario, you might want to increase or decrease the no. of columns in the RadDiagramToolbox. This small blog post will help you in this.

Published by on under Silverlight | SilverlightTips

XAML Spy is the visual runtime inspector for Silverlight, WPF, Windows Phone and Windows 8 Store applications which provides direct access to UI visual tree, runtime UI modifications to check/set different properties temporarily, monitor events, extract package contents and much more.

 

With the release of XAML Spy version 2, the company introduced a light weight Free version for the XAML designers/developers to play with their XAML files. Read more to grab your copy.

Published by on under News | Silverlight

Recently I got a chance to write a guest blog post on Telerik’s official site and the topic was “How to Export content from RadRichTextBox to a variety of formats in WPF or Silverlight”. Thanks to the Telerik XAML Team who gave me this opportunity.

 

The article covers the simple steps to export the rich text content of the Telerik RadRichTextBox control. This could be an additional benefit to the end users who are using Silverlight or WPF app.

Published by on under Silverlight | Silverlight5

Most of you have already used BusyIndicator control in your Silverlight or WPF application while communicating with server or processing a huge data. Sometime developers want to focus to a particular control like TextBox once the busyIndicator stops.

 

I noticed in various forums that developers really suffer a lot focusing to a TextBox at the end of the processing and when the busy indication stops. Let’s read the trick to resolve this.

Published by on under Silverlight | Telerik

XAML namespace is an extension of XML namespace and conventionally written as “xmlns” in XAML pages. We use it on all XAML pages in Silverlight, Windows Phone, Windows 8, WPF related technologies to better reference assemblies and namespaces.

 

In this post we will learn more about this XMLNS namespace and the way to customize it for a cleaner XAML page. Interested to know it? Continue reading and share your feedback about the post.

Published by on under Silverlight | Win8

Memory Leakage in applications are most common and a developer maximum time does not care about it. There are various possibilities for Memory leakage and one of them is Events registered in applications which a developer unknowingly forgets to handle.

 

So, what are the cases where that could make problem and are there any proper solutions to tackle down this issue? Let us discuss on this topic today.

Published by on under .Net | Silverlight

What is Dispatcher object and why to use it in application?” - It’s a common question asked by beginners working in various XAML technologies like Silverlight, Windows Phone etc. I came to such instances many time when the developer has no clue about “Cross Thread Exception”.

 

That is the reason I wanted to publish this post mentioning the use of this Dispatcher object, mainly when you are getting an “Invalid cross-thread access” exception.

Published by on under DZone | Silverlight

Earlier days while working with Silverlight 2, it was very difficult to take a snapshot of the XAML page programmatically in Silverlight. Later WritableBitmap class helped us to take snapshot of any portion and save it as image.

 

Today I learnt something new to do this operation very easily using Telerik library methods and hence thought to share with you in this post.

Published by on under Silverlight | Telerik

I am very happy to announce that, www.silverlight-zone.com has completed it’s first anniversary today. We officially launched this portal on 1st January 2011 and continuing our efforts to submit article news daily.

 

I appreciate the efforts made by the contributors of this community portal and the followers of Silverlight-Zone. Without their support this journey could be very difficult.

 

This post is not just the celebration of 1 year completion, we are also announcing our first “Contributor of the Month” award. We are happy to see such contributors on-board.

Published by on under Achievements | LightSwitch

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