@ -189,30 +189,42 @@ namespace ICSharpCode.WpfDesign.Designer
@@ -189,30 +189,42 @@ namespace ICSharpCode.WpfDesign.Designer
/// Enables / Disables the Snapline Placement
/// </summary>
private bool _ useSnaplinePlacement = true ;
public bool UseSnaplinePlacement
{
public bool UseSnaplinePlacement {
get { return _ useSnaplinePlacement ; }
set { _ useSnaplinePlacement = value ; OnPropertyChanged ( "UseSnaplinePlacement" ) ; }
set {
if ( _ useSnaplinePlacement ! = value ) {
_ useSnaplinePlacement = value ;
OnPropertyChanged ( "UseSnaplinePlacement" ) ;
}
}
}
/// <summary>
/// Enables / Disables the Raster Placement
/// </summary>
private bool _ useRasterPlacement = false ;
public bool UseRasterPlacement
{
public bool UseRasterPlacement {
get { return _ useRasterPlacement ; }
set { _ useRasterPlacement = value ; OnPropertyChanged ( "UseRasterPlacement" ) ; }
set {
if ( _ useRasterPlacement ! = value ) {
_ useRasterPlacement = value ;
OnPropertyChanged ( "UseRasterPlacement" ) ;
}
}
}
/// <summary>
/// Sets the with of the Raster when using Raster Placement
/// </summary>
private int _ rasterWidth = 5 ;
public int RasterWidth
{
public int RasterWidth {
get { return _ rasterWidth ; }
set { _ rasterWidth = value ; OnPropertyChanged ( "RasterWidth" ) ; }
set {
if ( _ rasterWidth ! = value ) {
_ rasterWidth = value ;
OnPropertyChanged ( "RasterWidth" ) ;
}
}
}
#endregion