C# Class csShared.FloatingElements.FloatingHelpers

Show file Open project: TNOCS/csTouch

Public Methods

Method Description
CreateFloatingElement ( Document e ) : FloatingElement
CreateFloatingElement ( string title, DockingStyles docking, object modelInstance, string icon, int priority ) : FloatingElement
CreateFloatingElement ( string title, Point position, Size size, object modelInstance ) : FloatingElement
CreateFloatingElementWithQrBackside ( Document e, string uri ) : FloatingElement

Creates a floating element with a QR code on the backside

RemoveFloatingElement ( string id ) : void

Remove a floating element by id.

Method Details

CreateFloatingElement() public static method

public static CreateFloatingElement ( Document e ) : FloatingElement
e Document
return FloatingElement

CreateFloatingElement() public static method

public static CreateFloatingElement ( string title, DockingStyles docking, object modelInstance, string icon, int priority ) : FloatingElement
title string
docking DockingStyles
modelInstance object
icon string
priority int
return FloatingElement

CreateFloatingElement() public static method

public static CreateFloatingElement ( string title, Point position, Size size, object modelInstance ) : FloatingElement
title string
position Point
size System.Windows.Size
modelInstance object
return FloatingElement

CreateFloatingElementWithQrBackside() public static method

Creates a floating element with a QR code on the backside
public static CreateFloatingElementWithQrBackside ( Document e, string uri ) : FloatingElement
e Document
uri string
return FloatingElement

RemoveFloatingElement() public static method

Remove a floating element by id.
public static RemoveFloatingElement ( string id ) : void
id string
return void