TextMargins Class

Represents the left and right martings of the text of an Edit Control.

Definition

Namespace: DevCase.UI.Components
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class TextMargins : Component
Inheritance
Object    MarshalByRefObject    Component    TextMargins

Constructors

TextMargins Initializes a new instance of the TextMargins structure.
TextMargins(Int32, Int32) Initializes a new instance of the TextMargins structure.

Properties

Container Gets the IContainer that contains the Component.
(Inherited from Component)
Left Gets or sets the left margin.
Right Gets or sets the right margin.
Site Gets or sets the ISite of the Component.
(Inherited from Component)

Methods

CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Dispose Releases all resources used by the Component.
(Inherited from Component)
Equals(Object) Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object))
Equals(TextMargins) Determines whether the specified TextMargins is equal to this instance.
GetHashCode
(Overrides ObjectGetHashCode)
GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
GetType Gets the Type of the current instance.
(Inherited from Object)
InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
ToString Returns a String that represents the current object.
(Overrides ComponentToString)

Events

Disposed Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

GetEvent Gets a EventInfo that match the specified event name declared in the source Component.
(Defined by ComponentExtensions)
GetEventHandlers Gets all the delegates associated to the specified event raised by the source Component.
(Defined by ComponentExtensions)
GetEvents Gets all the events declared in the source Component.
(Defined by ComponentExtensions)
GetSubscribedEvents Gets a list of events declared in the source Component that are subscribed to a event-handler.
(Defined by ComponentExtensions)
InvokeUITypeEditorT Invokes the default UITypeEditor to edit the specified property.
(Defined by ComponentExtensions)
InvokeUITypeEditorT Invokes the default UITypeEditor to edit the specified property.
(Defined by ComponentExtensions)
IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)
TryGetEvent Tries to get a EventInfo that match the specified event name declared in the source Component.
(Defined by ComponentExtensions)

See Also