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

XAML

Showing posts with label XAML. Show all posts

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

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

Last Sunday (29th May 2016), we have organized an event in Kolkata, clubbed with topics on different technologies. This includes topics like C# 7.0 Concepts, Azure PowerShell, UWP (Universal Windows Platform), HoloLens with Unity 3D and IoT (Internet of Things).

 

I have given a session on building UWP apps using C# and XAML. Here I am sharing my slides for you to refer. Those who missed to join the event, check it out.

Published by on under C# | Events

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

If you are a Silverlight application developer and using Telerik RadDiagram control, you might have seen that you can zoom and pan the diagram control and move it to any boundary. In some scenarios, we need to restrict it to a positive quadrant.

 

In such case, based on your business logic, you have to restrict the diagram to some quadrant value. In this small post, we will learn how to set it’s viewport to a specific bounds.

Published by on under Silverlight | Telerik

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

logo1

If you are working in Visual Studio to design XAML pages for your Silverlight, WPF, Windows Phone or Windows 8 Store application, you might have noticed that, sometime the Visual Studio IDE freezes for a long time and sometime it crashes.

 

I faced this issue many time and later found some way to recover from that freeze to continue working. In this post, going to share you the trick. I hope this will help you.

Published by on under Silverlight | Tips

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

If you are a Silverlight application developer and working with Telerik’s RadRichTextBox control, you might have already used the InsertSymbolDialog that comes in-built with the control. This dialog provides you a direct API to insert symbols in your rich text box.

 

By default the said dialog opens in non-modal dialog and there are no easy way to make it modal. In this blog post, we will learn how to customize it to make a modal window for that.

Published by on under RadRichTextBox | Silverlight

The big boss again hit you “Hey buddy, I don’t want to see those movement layers in the inserted table those you are using in the Silverlight application”. Now as a developer what to do? You are using the Telerik RadRichTextBox in the application that you are building. Does it provide the functionality?

 

Today’s blog post is on that topic and here we will discuss, how to hide the movement layer from the table and then show it back again on need basis.

Published by on under RadRichTextBox | Silverlight

If you are a Silverlight developer and working with Telerik’s Rad control library, you might have seen that the RadNumericUpDown control always displays the value with a comma separator as per your system’s locale settings.

 

But have you ever came to a situation where your client wants to remove the comma separator from the control? You will not find any properties in-built in it. Let’s start today’s discussion with it.

Published by on under Silverlight | Telerik