Styles in WPF are used for controlling the look and feel of the controls across the entire application.This is useful if we want the application to have a consistent look and feel.If we have many textboxes in our application then they should have a similar appearance otherwise the application will not look consistent. Styles allows us to share the […]
Archives for December 2015
Triggers in WPF
Triggers are used for changing the style of a WPF control when a certain condition is true.Depending on a condition such as specific value of a property trigger executes which changes the appearance of the control. There are three types of triggers: Property Trigger Property Trigger executes when the controls property becomes equal to a specific value.This […]
Arrays in TypeScript
Array is a data structure used for storing collection of variables of the same type.So if we have 5 variables of int datatype named var1,var2,var3,var4,var5 then a better approach is to use array to define the collection of variables.Arrays in TypeScript are useful for defining such collections. The elements of an array are stored sequentially in […]
Overview of TypeScript
TypeScript is a language which is superset of the popular scripting language Javascript.This means that TypeScript supports all the features provided by Javascript and also adds its own set of useful features.As TypeScript is developed by Microsoft so it is well supported in Visual Studio. Today javascript is supported across different platforms such as web browsers,web […]
Interfaces in C#
Interfaces are important part of C#.Intefaces specifies the services provided by a data type such as class.They specify the method signatures which are defined in the implementing classes.So interface provides details about the methods and other members. For example if a class implements a specific interface ,then client of that class can use the interface member details […]