[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.FilterBarCellType

FilterBarCellType Class

Represents a FilterBarCellType object.

Inheritance
FilterBarCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class FilterBarCellType : BaseCellType, ICellType, IFormatter, ICloneable, IPropertyAllowedSupport, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable<ICellType>, INumFmtSupportCellType, ISerializeSupport, ISerializable, IDeserializationCallback, IDisposable, IFilterItemEditor, IEditor, INotifyEditorValueChanged, IReuseEditorControl
Public Class FilterBarCellType
    Inherits BaseCellType
    Implements ICellType, IFormatter, ICloneable, IPropertyAllowedSupport, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable(Of ICellType), INumFmtSupportCellType, ISerializeSupport, ISerializable, IDeserializationCallback, IDisposable, IFilterItemEditor, IEditor, INotifyEditorValueChanged, IReuseEditorControl

Constructors

Name Description
FilterBarCellType()

Creates a new filter bar cell.

FilterBarCellType(SerializationInfo, StreamingContext)

Creates a new filter bar cell from serialization.

Properties

Name Description
AutoFormat

Gets or sets whether text is displayed with a format.

ContextMenuType

Gets or sets the type of filter bar context menu.

DateTimeFormatInfo

Gets or sets a DateTimeFormatInfo object that defines the format for displaying dates and times.

FormatString

Gets or sets the format string used to format the value.

IgnoreFiringFilterItemValueChangedEvent

Gets or sets whether to fire the FilterItemValueChanged event.

Interval

Gets or sets the time, in milliseconds, before the FilterItemValueChanged event is raised relative to the last occurrence of the FilterItemValueChanged event.

LabelColor

Gets or sets the color of the label.

NumberFormatInfo

Gets or sets a NumberFormatInfo object that defines the format for displaying a numeric value.

ShowDropDownMenuStrip

Gets or sets whether the cell type displays the drop-down menu button.

ShowEditor

Gets or sets whether the cell type displays the editor.

ShowLabel

Gets or sets whether the cell type displays the label.

Methods

Name Description
CancelEditing()

Cancels the editing of a cell.

Deserialize(XmlNodeReader)

Loads the object from XML.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FireEditorValueChanged(EventArgs)

Fires the EditorValueChanged event if there are any delegates attached.

Format(object)

Formats the specified data into the format of the cell type and returns it as a string.

GetEditorControl(Appearance, float)

Gets the edit control for this cell type with the specified appearance and scaling.

GetEditorControl(Control, Appearance, float)

Gets the control associated with the editor for the specified parent control.

GetEditorValue()

Gets the unformatted value in the editor control.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo object with the data needed to serialize the target object.

GetPreferredSize(Graphics, Size, Appearance, object, float)

Gets the preferred (maximum required) size of the cell for the renderer control.

InitializeEditorControl(Control, Appearance, float)

Initializes the editor control.

IsReservedLocation(Graphics, int, int, Rectangle, Appearance, object, float)

Determines whether the specified cursor location has special meaning to the editor control.

IsReusable(Control)

Checks if this control can be reused.

IsValid(object)

Determines whether the specified value is valid.

IsValidFilterItem(IFilterItem)

Determines whether the filter item is valid to apply to the sheetview.

PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)

Paints the cell when not in edit mode to the specified graphics interface with the specified appearance settings.

Parse(string)

Parses the specified string to the data type of the cell type and returns it as an object.

Serialize(XmlTextWriter)

Saves the object to XML.

SetEditorValue(object)

Sets the value of the editor control.

StopEditing()

Stops the editing of a cell.

Events

Name Description
FilterItemValueChanged

Occurs when the filter value has been changed by the user.