TcxMargin Members
Stores pixel margins of a visual element.Constructors
Name | Description |
---|---|
Create(TPersistent,Integer) | Initializes a new instance of the TcxRectBasedGeometryObject class with specified settings. Inherited from TcxRectBasedGeometryObject. |
Create(TPersistent,TRect) | Creates a new TcxRectBasedGeometryObject instance from the specified TRect value. Inherited from TcxRectBasedGeometryObject. |
Create(TPersistent) | Creates a new TcxOwnedPersistent class descendant instance. Inherited from TcxOwnedPersistent. |
Properties
Name | Description |
---|---|
All | Specifies all offsets, in pixels. Inherited from TcxOffsets. |
Bottom | Specifies the vertical offset of the rectangle’s right-bottom corner or the bottom margin, in pixels. Inherited from TcxRectBasedGeometryObject. |
Height | Specifies the total height of vertical offsets, in pixels. Inherited from TcxOffsets. |
Left | Specifies the horizontal offset of the rectangle’s left-top corner or the left margin, in pixels. Inherited from TcxRectBasedGeometryObject. |
Margin | This property is deprecated. Use the Value property instead. |
Owner protected | Provides access to the persistent object to which the current property set or persistent information container belongs. Inherited from TcxOwnedPersistent. |
Right | Specifies the horizontal offset of the rectangle’s right-bottom corner or the right margin, in pixels. Inherited from TcxRectBasedGeometryObject. |
Top | Specifies the vertical offset of the rectangle’s left-top corner or the top margin, in pixels. Inherited from TcxRectBasedGeometryObject. |
Value | Specifies geometry information as a TRect value. Inherited from TcxRectBasedGeometryObject. |
Width | Specifies the total width of horizontal offsets, in pixels. Inherited from TcxOffsets. |
Methods
Name | Description |
---|---|
_AddRef protected | The reference counter increment function of the interfaced property set. Inherited from TcxOwnedInterfacedPersistent. |
_Release protected | The reference counter decrement function of the interfaced property set. Inherited from TcxOwnedInterfacedPersistent. |
Assign(TPersistent) | Applies compatible settings from the specified source to the current property set. Inherited from TcxLockablePersistent. |
AssignTo(TPersistent) | Inherited from TPersistent. |
BeginUpdate | Postpones setting change notifications to the parent object until an EndUpdate or CancelUpdate procedure call. Inherited from TcxLockablePersistent. |
CancelUpdate | Re-enables change notifications and delays pending changes made in the component after a BeginUpdate procedure call until the next content or setting change. Inherited from TcxLockablePersistent. |
ChangeScale(Integer,Integer) | Scales the persistent geometry object using the specified numerator and denominator values. Inherited from TcxGeometryObject. |
DoAssign(TPersistent) protected | Updates the persistent information container’s class-specific properties with the corresponding values obtained from another persistent information container. Inherited from TcxOwnedPersistent. |
DoChanged protected | Applies pending changes after an EndUpdate procedure call. Inherited from TcxLockablePersistent. |
EndUpdate | Applies all pending changes and redraws the parent object after a BeginUpdate procedure call. Inherited from TcxLockablePersistent. |
Equals(TObject) | Inherited from TObject. |
GetHashCode | Inherited from TObject. |
GetNamePath | Inherited from TPersistent. |
GetOwner protected | Returns the persistent object to which the current property set or persistent information container belongs. Inherited from TcxOwnedPersistent. |
IsDefault | Identify if geometry information matches its initial state. Inherited from TcxRectBasedGeometryObject. |
IsEmpty | Identifies if all offsets are zeros. Inherited from TcxOffsets. |
IsEqual(TcxRectBasedGeometryObject) | Compares two geometry information containers. Inherited from TcxRectBasedGeometryObject. |
IsEqual(TRect) | Compares geometry information to a TRect value. Inherited from TcxRectBasedGeometryObject. |
IsNull | Inherited from TcxRectBasedGeometryObject. |
LoadFromStream(TStream) | Loads information from the specified stream to the persistent geometry object. Inherited from TcxGeometryObject. |
QueryInterface(TGUID,Untyped) protected | Provides access to the implementation of the specified interface if the current persistent property set or information container supports it. Inherited from TcxOwnedInterfacedPersistent. |
Reset | Restores the initial state of geometry information. Inherited from TcxRectBasedGeometryObject. |
SaveToStream(TStream) | Saves information stored in the persistent geometry object, to the specified stream. Inherited from TcxGeometryObject. |
ToString | Inherited from TObject. |
Events
Name | Description |
---|---|
OnChange | Allows you to respond to changes made to the persistent geometry object’s settings. Inherited from TcxGeometryObject. |
See Also