C# Class X.Viewer.SketchFlow.Controls.Stamps.Shape

Inheritance: Windows.UI.Xaml.Controls.UserControl, IStamp
Exibir arquivo Open project: liquidboy/X Class Usage Examples

Public Properties

Property Type Description
StampContentProperty Windows.UI.Xaml.DependencyProperty
StampDataProperty Windows.UI.Xaml.DependencyProperty
StampTypeProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GenerateFromXAML ( UIElement template ) : void
GenerateXAML ( string uid, double scaleX, double scaleY, double left, double top ) : string
GetData ( ) : string
PopulateFromUIElement ( UIElement element ) : void
Shape ( ) : CoreLib.Converters
UpdateRotation ( double angle ) : void
UpdateStrokeThickness ( double thickness ) : void

Private Methods

Method Description
Shape_Unloaded ( object sender, RoutedEventArgs e ) : void
TlLeftCenterToolbar_OnTabChanged ( object sender, EventArgs e ) : void
butClose_Click ( object sender, RoutedEventArgs e ) : void
butGridMarker_Click ( object sender, RoutedEventArgs e ) : void
butLock_Click ( object sender, RoutedEventArgs e ) : void
butStamp_Click ( object sender, RoutedEventArgs e ) : void
butUnlock_Click ( object sender, RoutedEventArgs e ) : void
cpMain_ColorChanged ( object sender, EventArgs e ) : void
edges_PerformAction ( object sender, EventArgs e ) : void

Method Details

GenerateFromXAML() public method

public GenerateFromXAML ( UIElement template ) : void
template Windows.UI.Xaml.UIElement
return void

GenerateXAML() public method

public GenerateXAML ( string uid, double scaleX, double scaleY, double left, double top ) : string
uid string
scaleX double
scaleY double
left double
top double
return string

GetData() public method

public GetData ( ) : string
return string

PopulateFromUIElement() public method

public PopulateFromUIElement ( UIElement element ) : void
element Windows.UI.Xaml.UIElement
return void

Shape() public method

public Shape ( ) : CoreLib.Converters
return CoreLib.Converters

UpdateRotation() public method

public UpdateRotation ( double angle ) : void
angle double
return void

UpdateStrokeThickness() public method

public UpdateStrokeThickness ( double thickness ) : void
thickness double
return void

Property Details

StampContentProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StampContentProperty
return Windows.UI.Xaml.DependencyProperty

StampDataProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StampDataProperty
return Windows.UI.Xaml.DependencyProperty

StampTypeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml StampTypeProperty
return Windows.UI.Xaml.DependencyProperty