Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Margin « Windows Presentation Foundation « C# / C Sharp
C# / C Sharp
Windows Presentation Foundation
Margin
1.
No margin
2.
The same margin on all four sides
3.
Margin: Left,Top,Right,Bottom
4.
Set margins, by changing any existing property value for the margin in code-behind with Thickness class
5.
Change the margins of an element that is within a Grid by XAML and programmatic code