Grid.ColumnSpacing Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the amount of space between columns in the Grid. This is a bindable property.
public:
property double ColumnSpacing { double get(); void set(double value); };
public double ColumnSpacing { get; set; }
member this.ColumnSpacing : double with get, set
Public Property ColumnSpacing As Double
Property Value
The space between columns in this Grid layout. The default is 0.
Remarks
The ColumnSpacing property does not control spacing on the left and right edges of the Grid layout. Application developers can control the spacing around the outside of the Grid layout by setting the Padding property of the visual element to which it belongs.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for