[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.SpreadMonthCalendar

SpreadMonthCalendar Class

Represents a month calendar window.

Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(SpreadMonthCalendarConverter))]
public class SpreadMonthCalendar : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ISubEditor, ICloneable, ISerializeSupport, ISerializable
<TypeConverter(GetType(SpreadMonthCalendarConverter))>
Public Class SpreadMonthCalendar
    Inherits Form
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ISubEditor, ICloneable, ISerializeSupport, ISerializable

Constructors

Name Description
SpreadMonthCalendar()

Initializes a new instance of the SpreadMonthCalendar class.

SpreadMonthCalendar(SpreadMonthCalendar)

Creates a new copy from the specified cell type.

SpreadMonthCalendar(SerializationInfo, StreamingContext)

Creates a SpreadMonthCalendar from serialization.

SpreadMonthCalendar(string, string, DateTimeFormatInfo, string, DateTime)

Initializes a new instance of the SpreadMonthCalendar class.

Properties

Name Description
CalendarFormat

Gets or sets a calendar format string.

CancelText

Gets or sets a caption for the Cancel button.

DateDefault

Gets or sets a default value.

DateTimeInfo

Gets or sets a DateTimeFormatInfo object.

OkText

Gets or sets a caption for the OK button.

Methods

Name Description
Clone()

Creates a new object that is a copy of the current instance.

Deserialize(XmlNodeReader)

Loads the object from XML.

GetLocation(Rectangle)

Gets the location of the SpreadMonthCalendar object.

GetObjectData(SerializationInfo, StreamingContext)

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

GetPreferredSize()

Retrieves the size of a rectangular area into which a control fits.

GetSubEditorControl()

Gets the specified SpreadMonthCalendar object as a subeditor control.

GetValue()

Gets the current value of SpreadMonthCalendar.

ScaleControl(SizeF, BoundsSpecified)

Scales the location, size, padding, and margin of a control.

Serialize(XmlTextWriter)

Saves the object to XML.

SetMaxDate(DateTime)

Sets a maximum DateTime value.

SetMinDate(DateTime)

Sets a minimum DateTime value.

SetValue(object)

Sets a current value for SpreadMonthCalendar.

Events

Name Description
CloseUp

Occurs when the calendar has closed.

ValueChanged

Occurs when the value has changed.