Class WidgetBase
The base implemenation of IWidget interface
Inheritance
System.Object
WidgetBase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS
Assembly: Syncfusion.DLS.Base.dll
Syntax
public abstract class WidgetBase : XDLSSerializableBase, IEntityBase, IXDLSSerializable, IWidget
Constructors
WidgetBase()
Default constructor.
Declaration
protected WidgetBase()
WidgetBase(IDocument)
Initializing constructor.
Declaration
public WidgetBase(IDocument doc)
Parameters
Type | Name | Description |
---|---|---|
IDocument | doc |
Fields
m_layoutInfo
Declaration
protected ILayoutInfo m_layoutInfo
Field Value
Type |
---|
ILayoutInfo |
Methods
CreateLayoutInfo()
Declaration
protected abstract void CreateLayoutInfo()
DrawImpl(CustomGraphics, LayoutedWidget)
Draw widget to graphics.
Declaration
protected virtual void DrawImpl(CustomGraphics cg, LayoutedWidget ltWidget)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | cg | |
LayoutedWidget | ltWidget |
Explicit Interface Implementations
IWidget.Draw(CustomGraphics, LayoutedWidget)
Imlementation of Draw method of IWidget interface .
Declaration
void IWidget.Draw(CustomGraphics cg, LayoutedWidget ltWidget)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | cg | |
LayoutedWidget | ltWidget |
IWidget.LayoutInfo
Gets layout info.
Declaration
ILayoutInfo IWidget.LayoutInfo { get; }
Returns
Type |
---|
ILayoutInfo |