Showing posts with label WPF. Show all posts
Showing posts with label WPF. Show all posts

Saturday, August 15, 2015

WPF RichTextBox


The RichTextBox control allows you to view and edit text, paragraph, images, tables, other rich text format contents. The RichTextBox tag represents a RichTextBox control in XAML. The Width and Height properties represent the width and the height of a RichTextBox. The Name property represents the name of the control, which is a unique identifier of a control. The Margin property tells the location of a RichTextBox on the parent control. The HorizontalAlignment and VerticalAlignment properties are used to set horizontal and vertical alignments.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

WPF,RichTextBox,.Net

Friday, June 26, 2015

Resources in WPF and difference between Static Resource and Dynamic Resource


In WPF, Resources are objects which can be reused anywhere in a WPF application. For example styles, brushes, Bitmap images etc. can be used as resources in different places in your WPF application.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,WPF,.Net,Articles,Computer Tutorials

Thursday, May 15, 2014

How to display more than one property in editable Telerik ComboBox for WPF/Silverlight


As a RadComboBox user you probably are already aware of the fact that it provides two edit modes out of the box – along with the default non-editable mode there is an editable one. The editable mode allows the user to get the desired item by typing, however it also ignores the SelectionBoxTemplate which gives you the ability to display the selected item differently. In many scenarios you might need to use both - the editable functionality and the possibility to modify the appearance of the selected item in order to visualize two or more properties of the selected custom object. This article will demonstrate how this scenario can be easily achieved by modifying the EditableTemplate of RadComboBox.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,WPF,Silverlight

Tuesday, May 13, 2014

WPF Build An Application


This tutorial follows-on from my WPF Build a Window tutorial-sequence: Part 1 Part 2 Part 3 Part 4 It is not necessary for you to have completed the sequence, but I assume a lot of information covered, or introduced, in it. This is a first draft towards creating a complete WPF Application. The application built works but doesn't include the features, and good practices, that I am aiming towards. However, it does provide a basic, and working, framework that can be added-to. Oddly, I will start by listing what is not included: Not Yet Included: Code is not fully separated. In particular, there is some code-behind. It doesn't fully follow the MVVM pattern, although I'm using 'Models' and 'Views'...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,WPF

Sunday, May 11, 2014

WPF Build A Window 4, Binding & Validation


Part 1 Part 2 Part 3 Topic List: Binding to an Object and Properties Control Templates Data Validation Change Notification - INotifyPropertyChanged I have made the following changes to the application from Part 3. None of these are essential so you could skip them if you prefer. It is also possible to complete this part of the tutorial with a new Window, two TextBoxes and a DatePicker; it just requires the addition of the reference local: xmlns:local="clr-namespace:ProgrammersWPF2". Changes to the Application: Moved Menu and MenuItem Styles into App.xaml Removed Canvas, and Expander & Canvas Removed a ColumnDefinition Removed btnClose_Click handler from code-behind (using Command instead) Renamed the DatePicker...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,WPF

Monday, March 3, 2014

Displaying User Friendly Enum Values in WPF


Enums provide a convenient way for programmers to restrict and describe values allowed for a field or parameter, but how do we expose them to the user? A common scenario is to display the values in a list or combobox, but just exposing the code names directly is often not appropriate and localizable. This article presents a small but powerful helper class to make it easier to show the allowed values from enumerations in user-friendly and localizable ways, including showing not only text but arbitrary graphical WPF content.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,WPF

Sunday, February 23, 2014

Explain Ancestor relative source binding in WPF ? ( WPF Interview questions with answers)


This relative binding helps to bind properties to the parent element properties. For example in the below XAML code we have a textbox which has two border's as a parent. One border is having dark green and the other border is having dark red color as the border color.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,WPF Interview questions with answers,WPF,Interview Questions,Interview

Monday, February 10, 2014

Northwind N-Tier Blueprint Application Using WPF/WCF/LINQ to SQL


Northwind N-Tier Blueprint is a Windows client application that can be used to manage the customers and their details of a fictitious company called Northwind Traders. This application is developed as a blueprint to showcase an enterprise standard architecture using the .NET 3.5 technologies like WPF, WCF, and LINQ to SQL. This can be used as a reference for building reliable applications with a service oriented and distributed architecture.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,WPF,WCF,LINQ to SQL

Wednesday, January 1, 2014

Complete XAML Solution For SelectAll In Datagrid


Over the period of time lot of asks and solutions were made for selectall selector for DataGrid. However, I failed to see a solution which is completely built on XAML. When my friend approached me, I thought that I will write my own. The idea is to have a template column with a separate definition for the header and the rows. To avoid using code behind for the solution, I decided to use two data templates for the header and the row items.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,WPF,XAML

Tuesday, December 10, 2013

Building IDE with RadDocking for WPF/Silverlight


One of the key concepts when building an application stays the layout – what should it be? How should it be defined? It's a tough question with lots of different answers. Of course, Telerik always tries to make the development easier and here is our answer as simple as possible – the combination of RadMenu and RadDocking controls. Let's assume we want to build an IDE or any other multi document application. The RadDocking control is the perfect control for covering this scenario. It has built-in support for tabbed Documents, hiding Panes, floating Windows, drag and drop, activation, save/load functionality, docking compasses etc. How can we combine all these amazing features in one working application? The next screenshot shows the final result of a possible IDE implementation:


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,RadDocking ,Silverlight,WPF

Wednesday, November 6, 2013

Introducing WPF SDK Samples Browser


A couple of months ago we introduced to you the Telerik XAML SDK and we received a lot of positive feedback about it. Once we were sure that you find the new addition useful we decided to move one step further. Although GitHub is a very well-known platform we saw a better and easier approach for reviewing our examples. That is why we put some efforts in developing our brand new SDK Samples Browser. The idea behind the application was to bring a friendly way of browsing through the XAML SDK examples without any user interaction with GitHub.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,WPF, Samples Browser

Thursday, October 31, 2013

Advantages of using WPF


Remember: - ABCDEFG

A - Anywhere execution ( Windows or Web)
B - Bindings ( less coding)
C - Common look and feel ( resource and styles)
D - Declarative programming (XAML)
E - Expression blend animation ( Animation ease)
F - Fast execution ( Hardware acceleration)
G - Graphic hardware independent ( resolution independent)

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to
C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials, WPF

Sunday, October 20, 2013

5 Things I bet you didn’t know about RadControls for WPF and Silverlight


Telerik's RadControls for WPF and Silverlight has over 60 fully-featured controls, it's only natural that some gems are undiscovered. In this blog post, we will take a look at five things I bet you didn't know about RadControls for WPF or Silverlight application. 1. You can use Implicit Styles if you want to modify our XAML to provide custom themes. With Implicit styling you create a target type but not a key for your style and the style is implicitly applied to any object of that type that does not otherwise have an explicit style. Figure 1 and 2 shows an example of what the project configuration wizard looks like.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls, WPF, Silverlight

Wednesday, October 2, 2013

WPF Base Classes - Control - Tab Order


The Control class is a base class for Windows Presentation Foundation (WPF) controls. It inherits from the FrameworkElement type, which I described in the previous few articles of this series. Unlike FrameworkElement and the other WPF base classes examined so far in this tutorial, Control is not a super class for all of the WPF layout controls. It is the base class only for controls that have a template. These controls that can be heavily customised by replacing the basic template with new visuals.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,WPF

Monday, September 23, 2013

WPF: OpenWeather


OpenWeather is a WPF application that displays current weather and forecast information. This app is a replacement for my WPF application of the same nature, which has been made redundant due to the shutting-down of the Google Weather API, which it acquired data from. OpenWeather makes use of data provided by the OpenWeatherMap API.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,WPF,OpenWeather

Friday, September 6, 2013

No Excel? No Problem with RadSpreadsheet for WPF and Silverlight


Most businesses require Excel in order to operate. They use excel for a variety of reasons, but the most common is organizing and manipulating data. Most businesses are also faced with increased license cost or the inability to install Excel on a machine. RadSpreadsheet handles all of these issues as it is a control that allows editing tabular data utilizing a variety of cell formatting options, styles and themes. In today's post, we will explore RadSpreadsheet from scratch and walk you through step-by-step how to use it in your next line-of-business application.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,Silverlight,WPF,RadSpreadsheet

Wednesday, September 4, 2013

Daily .Net Tips : Asynchrony with Dispatcher in WPF


The new addition of async and await have already created buzz in the city with the superior language support of calling asynchronous code that looks pretty synchronous. There are two keywords that has been introduced to handle this behavior. The async is a specifier which directs the compiler to orchestrate automatically during the compilation to change its behavior and with the use of contextual keyword await inside an async method it makes the life of a regular programmer really easy to create more responsive code.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Daily .Net Tips,WPF

Wednesday, August 21, 2013

How to Export content from RadRichTextBox to a variety of formats in WPF or Silverlight


Telerik's RadRichTextBox control allows you to display rich text content in your Silverlight application. It can hold formatted text, images, tables, hyperlinks etc. to provide a visual look like Microsoft Word document. To use a simple RadRichTextBox control, you will need reference to the following Telerik assemblies: Telerik.Windows.Controls, Telerik.Windows.Data and Telerik.Windows.Documents in your WPF/Silverlight project. The control library not only allows you to display rich text content, but also helps you to export the same to different file formats so that you can save it to file or database. I was working on an application which has the Microsoft Word kind functionality and recently the client asked to add functionality to export the content to HTML, PDF, DOCX format in addition to save it in the database as an image. Telerik library helped me a lot to implement the same in that application with just a few lines of code. The library already exposed different APIs to handle different file formats in order to export the content. In this article I will cover how the Telerik's RadRichTextBox helped me exporting the rich text content added by user to a file of various formats like HTML, PDF, RTF, DOCX, XAML and TXT.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>Architect,Intermediate,Articles,Computer Tutorials, Telerik, RadControls,RadRichTextBox,Silverlight,WPF

Monday, July 8, 2013

WPF Base Classes


System.Windows.Media.Visual is a base class that is shared by all of the controls that we have seen so far in the WPF tutorial. Later in the tutorial we'll see many other controls that also inherit functionality from this class. Visual adds methods and properties to those that it inherits from DispatcherObject and DependencyObject. It provides functionality that is specific to the rendering of WPF controls.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,WPF

WPF Radio Buttons… “Once it is checked it just won’t uncheck”


Today I was doing some Sunday morning coding (why read newspaper when you can code right? ) and stumbled upon an issue with Radio buttons in WPF… Basically if you have a set of Radio buttons with the same group name, once you check one of the radio buttons you cannot uncheck it.. This was causing me grief since I wanted to enable the user to be able to uncheck it back… This might seem quite simple to solve but I wanted to write this post to show how WPF Dependency property system is superior from any other XAML platform.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,WPF

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails