ItemStyle Class

Specifies the style and looks of an item.

Definition

Namespace: BeeMobile.TouchList
Assembly: BeeMobile.TouchList.NET48 (in BeeMobile.TouchList.NET48.dll) Version: 4.8.5.24
C#
public abstract class ItemStyle : IDisposable, 
	ICloneable, INotifyPropertyChanged
Inheritance
Object    ItemStyle
Derived
More
Implements
INotifyPropertyChanged, ICloneable, IDisposable

Constructors

ItemStyle Constructor that creates ItemStyle object.
ItemStyle(ItemStyle) Copy constructor.

Properties

Alignment gets or sets the Alignment of item.
Anchor Anchors the ItemStyle to the edges of the row.
BackColor Specifies the BackColor.
BorderColor Gets or sets the color of the border.
BorderDashStyle Gets or sets the DashStyle for the border line.
BorderVisible Gets or set, whether the border should be visible.
BorderWidth Gets or sets the thickness of the border line.
Bounds Gets or sets the bounds of the ItemStyle.
DisplayMember The name of the property in DataSource to bind the ItemStyle.
Name Gets or sets the name of the item style.

Methods

Clone Clones the object.
Dispose Disposes all resources used by this class.
Dispose(Boolean) Disposes resources used by this class.
Draw Draws the item style.
DrawBorder Draws border around the ItemStyle.
DrawInDesigner Draws the item style in design mode.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FillItemBackground Fill items background.
Finalize Destructor.
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnClick Occurs when RowStyles is clicked. Clicked means, MouseDown and MouseUp was located inside the ItemStyle and the TouchList was not dragged until MouseUp.
OnDrag Occurs when TouchList is scrolled.
OnMouseDown Occurs when mouse button is pressed down.
OnMouseMove Occurs when mouse is moved.
OnMouseUp Occurs when mouse button is released.
OnPropertyChanged Fires PropertyChanged event.
ResetAlignment Sets the default value for Alignment property.
ResetAnchor Resets the Anchor property to its default value.
ResetBorderColor Sets the BorderColor property to its default value.
ResetBorderDashStyle Sets the BorderDashStyle property to its default value.
ResetBorderVisible Sets the BorderVisible property to its default value.
ResetBorderWidth Sets the BorderWidth property to its default value.
ResetBounds Resets the Bounds property to its default value.
ResetName Sets the default value for Name property.
Resize Should be called, when the parent container is resized.
RestoreClipping Restores the clipping of the graphics object, what was before calling the StoreAndSetClipping method.
Scale Scales the ItemStyle by a given factor.
ShouldSerializeAlignment Indicates whether the Alignment property should be persisted.
ShouldSerializeAnchor Indicates whether the Anchor property should be persisted.
ShouldSerializeBackColor Indicates whether the BackColor property should be persisted in Visual Studio designer's automatically generated code.
ShouldSerializeBorderColor Indicates whether the BorderColor property should be serialized by Visual Studio designer.
ShouldSerializeBorderDashStyle Indicates whether the BorderDashStyle property should be serialized by Visual Studio designer.
ShouldSerializeBorderVisible Indicates whether the BorderVisible property should be serialized by Visual Studio designer.
ShouldSerializeBorderWidth Indicates whether the BorderWidth property should be serialized by Visual Studio designer.
ShouldSerializeBounds Indicates whether the Bounds property should be serialized by Visual Studio designer.
ShouldSerializeName Indicates whether the Name property should be persisted.
StoreAndSetClipping Sets the clipping of the graphics object to the intersect of the itemstyle bounds and the existing clipping region.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

PropertyChanged Occurs when a property value changes.

See Also