After creating default MVC application in Visual Studio there is a default layout file has been added in shared folder under views having name _Layout.cshtml. This file is used to provide consistent look on all of the pages havin...
Saturday, August 30, 2014
Monday, April 14, 2014
StackPanel Overview in WPF
Layouts in WPF
WPF layout, a mostly used component of an application, is basically used to arranging controls on fixed pixels. Users can not resize the places which are placed in these layouts. There are five built-in panels i.e...
Wednesday, August 28, 2013
How to Design Better UI: Border Control in WPF
Whenever we use a control in our WPF window, it feels a simple look in our design view. Border control is used to draw a border around other control. Borders generally play an important role to generate a better UI for the applic...
Saturday, August 17, 2013
WPF: Alignments of Elements
In earlier post we have learnt about size-related properties i.e. Height & Width and Margin & Padding. In this article we will focus on alignments of elements. How a children should be positioned within a parent’s allocated space...
Margin and Padding of Elements: WPF
In our previous post we have set Height and Width properties of an element, now we will set the next size related properties i.e. Margin and Padding. Margin controls how much extra space gets placed around the outside edges of th...
Friday, August 16, 2013
How to set Height and Width of Elements: WPF
Panels, also called parent elements, supports multiple child elements to be arranged in it. Parents decide about where to render and how much space the children get. WPF elements tend to size to their content that is to be done t...