Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- EO.Base
- EO.Base.UI
- EO.Extensions
- EO.Pdf
- EO.Pdf.Acm
- EO.Pdf.Contents
- EO.Pdf.Drawing
- EO.Pdf.Mvc
- EO.Web
- EO.WebBrowser
- EO.WebBrowser.DOM
- EO.WebEngine
- EO.WinForm
- EO.Wpf
- EO.Wpf.Gauge
- EO.Wpf.Gauge.Shapes
- EO.Wpf.Gauge.Shapes
- Classes
- BaseGaugeShape Class
- HalfGaugeShape Class
- QuarterGaugeShape Class
- ThreeQuarterGaugeShape Class
- EO.Wpf.Primitives
- EO.Wpf.Themes.Aero
- EO.Wpf.Themes.Classic
- EO.Wpf.Themes.Luna
- EO.Wpf.Themes.Metro
- EO.Wpf.Themes.Royale
- JavaScript API Reference
- .NET API Reference
Padding Property |
Gets or sets a value that specifies the padding of this gauge shape from all sides. This is a dependency property.
Syntax
Property Value
A Double value that specifies the distance from the edge. The default value is 0.0.
Example
The following sample demonstrates the effect of the Padding property:
XAML
<Window x:Class="GaugeShapes.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:eo="http://schemas.essentialobjects.com/wpf/" Title="MainWindow" Height="300" Width="350"> <Grid> <Grid Width="220" Height="220"> <gs:QuarterGaugeShape Fill="#282923" /> <gs:QuarterGaugeShape Fill="#3A3A38" Padding="20" /> </Grid> </Grid> </Window>
The previous XAML markup will render the following result:
See Also