Class SplitStringWidget
Inheritance
System.Object
SplitStringWidget
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.Layouting
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class SplitStringWidget : ISplitLeafWidget, ILeafWidget, IWidget
Constructors
SplitStringWidget(IStringWidget, StringSplitInfo)
Declaration
public SplitStringWidget(IStringWidget strWidget, StringSplitInfo splitInfo)
Parameters
Type | Name | Description |
---|---|---|
IStringWidget | strWidget | |
StringSplitInfo | splitInfo |
Properties
LayoutInfo
Gets layout info.
Declaration
public ILayoutInfo LayoutInfo { get; }
Property Value
Type |
---|
ILayoutInfo |
RealStringWidget
Declaration
public IStringWidget RealStringWidget { get; }
Property Value
Type |
---|
IStringWidget |
Methods
Draw(CustomGraphics, LayoutedWidget)
Draw range to graphics.
Declaration
public void Draw(CustomGraphics g, LayoutedWidget layoutedWidget)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | g | |
LayoutedWidget | layoutedWidget |
GetText()
Gets the text.
Declaration
public string GetText()
Returns
Type |
---|
System.String |
Measure(CustomGraphics)
Declaration
public SizeF Measure(CustomGraphics graphics)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | graphics |
Returns
Type |
---|
System.Drawing.SizeF |
SplitByOffset(CustomGraphics, Double, IStringWidget, StringSplitInfo)
Declaration
public static ISplitLeafWidget[] SplitByOffset(CustomGraphics graphics, double offset, IStringWidget strWidget, StringSplitInfo splitInfo)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | graphics | |
System.Double | offset | |
IStringWidget | strWidget | |
StringSplitInfo | splitInfo |
Returns
Type |
---|
ISplitLeafWidget[] |
SplitByOffset(CustomGraphics, SizeF)
Declaration
public ISplitLeafWidget[] SplitByOffset(CustomGraphics graphics, SizeF offset)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | graphics | |
System.Drawing.SizeF | offset |
Returns
Type |
---|
ISplitLeafWidget[] |