Class BannerTextProvider
Inheritance
System.Object
BannerTextProvider
Implements
System.ComponentModel.IExtenderProvider
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class BannerTextProvider : Component, IExtenderProvider
Constructors
BannerTextProvider()
Default constructor.
Declaration
public BannerTextProvider()
BannerTextProvider(IContainer)
Creates instance of BannerTextProvider class and registers it in owner's container.
Declaration
public BannerTextProvider(IContainer container)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.IContainer | container | Owner's container. |
Properties
ETB2Component
Retrieves text box to component backward map.
Declaration
protected static IDictionary ETB2Component { get; }
Property Value
Type |
---|
System.Collections.IDictionary |
Remarks
Mapping is created on demand.
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Extend(BannerTextProvider, IExtendableTexBox, IExtendableTexBox)
Declaration
protected static void Extend(BannerTextProvider provider, IExtendableTexBox mainETB, IExtendableTexBox subETB)
Parameters
Type | Name | Description |
---|---|---|
BannerTextProvider | provider | |
IExtendableTexBox | mainETB | |
IExtendableTexBox | subETB |
Extend(IExtendableTexBox, IExtendableTexBox)
Declaration
protected void Extend(IExtendableTexBox mainETB, IExtendableTexBox subETB)
Parameters
Type | Name | Description |
---|---|---|
IExtendableTexBox | mainETB | |
IExtendableTexBox | subETB |
Extend(Component, IExtendableTexBox)
Declaration
protected void Extend(Component component, IExtendableTexBox etb)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Component | component | |
IExtendableTexBox | etb |
GetBannerText(Component)
Returns BannerTextInfo for given component.
Declaration
public BannerTextInfo GetBannerText(Component component)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Component | component |
Returns
Type | Description |
---|---|
BannerTextInfo | Associated BannerTextInfo object. |
Remarks
Returns a copy of BannerTextInfo object.
RegisterProvider(IComponentBannerTextProvider)
Register additional IComponentBannerTextProvider.
Declaration
public static void RegisterProvider(IComponentBannerTextProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IComponentBannerTextProvider | provider | Provider to register. |
ResetBannerText(Component)
Declaration
protected void ResetBannerText(Component component)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Component | component |
SetBannerText(Component, BannerTextInfo)
Associates BannerTextInfo with component.
Declaration
public void SetBannerText(Component component, BannerTextInfo info)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Component | component | |
BannerTextInfo | info |
ShouldSerializeBannerText(Component)
Declaration
protected bool ShouldSerializeBannerText(Component component)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Component | component |
Returns
Type |
---|
System.Boolean |
Implements
System.ComponentModel.IExtenderProvider