Version

TimeSpanEditor Class Members

The following tables list the members exposed by TimeSpanEditor.

Public Constructors
 NameDescription
Public ConstructorTimeSpanEditor ConstructorOverloaded.   
Public Fields
 NameDescription
Public FieldFractionalFormatReturns the format used to format values that contain fractional units of time ("0.##").  
Public Fieldstatic (Shared in Visual Basic)MaxValueReturns the maximum supported TimeSpan value for this editor, which is the difference between the DateTime.MinValue and DateTime.MaxValue properties. This value equates to a span of time equal to 3,652,059 days.  
Public Fieldstatic (Shared in Visual Basic)MinValueReturns the minimum supported TimeSpan value for this editor (TimeSpan.Zero). Note that the TimeSpanEditor does not support negative values.  
Protected Fields
 NameDescription
Protected FieldtagValue (Inherited from Infragistics.Shared.SubObjectBase)
Public Properties
 NameDescription
Public PropertyAcceptsReturnGets or sets a value indicating whether pressing ENTER in a mutiline editor creates a new line of text in the editor. (Inherited from Infragistics.Win.EditorWithText)
Public PropertyAcceptsTabGets or sets a value indicating whether pressing the TAB key in a multiline editor types a TAB character in the editor. (Inherited from Infragistics.Win.EditorWithText)
Public PropertyButtonsLeftReturns of a collection of Infragistics.Win.UltraWinEditors.EditorButtonBase instances displayed on the left side of the editor. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public PropertyButtonsRightReturns of a collection of Infragistics.Win.UltraWinEditors.EditorButtonBase instances displayed on the right side of the editor. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public PropertyCanFocusReturns whether the editor can receive input focus while in edit mode (Inherited from Infragistics.Win.EditorWithText)
Public PropertyCurrentEditTextReturns the current text being edited without doing any validation. This will return the text currently typed in. If the editor does not have an textbox-like control, it will return the current edit value in form of text. (Inherited from Infragistics.Win.EditorWithText)
Public PropertyDataFilterIf different than null, specifies custom data filter used by the editor. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyDefaultOwnerReturns the default embeddable editor owner, which may provide default owner-specific values for an editor (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyDisposed (Inherited from Infragistics.Shared.DisposableObject)
Public PropertyEditorSharedObjectNameSpecifies name of the shared object that was defined for this editor. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyElementBeingEditedReturns the embeddable element that is currently in edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyExpectedTypeDefault type used by the editor in the case of data filter. Null means that editor supports multiple data types and expects type to be set or provided by the owner. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyFocusedReturns whether the editor currently has input focus (Inherited from Infragistics.Win.EditorWithText)
Public PropertyHasButtonsLeftIndicates if there are any buttons in the collection. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public PropertyHasButtonsRightIndicates if there are any buttons in the collection. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public PropertyIsDroppedDownReturns true if in edit mode and dropped down (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyIsInEditModeReturns true if the editor is in edit mode (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyIsInIMECompositionReturns true if the editor's TextBox is currently proccessing an IME Composition operation. (Inherited from Infragistics.Win.EditorWithText)
Public PropertyIsValidReturns true if the edited value is valid (read-only). (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyScrollBarsGets/sets whether vertical scrollbars are displayed for the editor (Inherited from Infragistics.Win.EditorWithText)
Public PropertySelectedTextGets or sets the currently selected text in the editor. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertySelectionLengthGets or sets the number of characters selected in the editor. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertySelectionStartGets or sets the starting point of text selected in the editor. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertySpinButtonAlignmentGets or sets the alignment (Left or Right) of the SpinButton when SpinButtonVisible is true.  
Public PropertySpinButtonVisibleReturns or sets a value indicating whether the editor automatically displays spin buttons which increment or decrement the current value when clicked.  
Public PropertySupportsAutoSizeEditIndicates whether the editor supports AutoSizeEdit (Inherited from Infragistics.Win.EditorWithText)
Public PropertySupportsDropDownReturns true if this editor supports a dropdown. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertySupportsSelectableTextReturns whether the editor supports selecting text. (Inherited from Infragistics.Win.EditorWithText)
Public PropertySupportsSpellCheckingReturns true (Inherited from Infragistics.Win.EditorWithText)
Public PropertySupportsValueListSpecifies whether the editor supports value list (read-only). (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyTag (Inherited from Infragistics.Shared.SubObjectBase)
Public PropertyTextBoxReturns the EmbeddableTextBox used by this class (Inherited from Infragistics.Win.EditorWithText)
Public PropertyTextLengthGets the length of the text in the editor. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public PropertyValueGets/sets the value being edited. (Inherited from Infragistics.Win.EditorWithText)
Protected Properties
 NameDescription
Protected PropertyAppliesFormatStringWhenInEditModeReturns whether the editor applies the format string returned from the owner's EmbeddableEditorOwnerBase.GetFormatInfo method when it is in edit mode. (Inherited from Infragistics.Win.EditorWithText)
Protected PropertyEditorValueGets/Sets the editor value. (Inherited from Infragistics.Win.EditorWithText)
Protected PropertyHasOwnDefaultContextMenuProperty which should be overriden by derived editors which have their own default Context Menu, so an ancestor's ContextMenu would be prevented from showing. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected PropertySelectedTextInternalGets/sets a string that represents the currently selected text in the text box. (Inherited from Infragistics.Win.EditorWithText)
Protected PropertySelectionLengthInternalGets/sets The starting position of text selected in the text box. (Inherited from Infragistics.Win.EditorWithText)
Protected PropertySelectionStartInternalGets/sets the number of characters selected in the text box. (Inherited from Infragistics.Win.EditorWithText)
Protected PropertySubObjectPropChangeHandler (Inherited from Infragistics.Shared.SubObjectBase)
Protected PropertyTextLengthInternalGets the length of the text in the editor. (Inherited from Infragistics.Win.EditorWithText)
Protected PropertyWantsOwnerKeyEventsSpecifies whether the editor wants to receive key events from the owner while in edit mode (read-only). (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public Methods
 NameDescription
Public MethodApplyValueAppearanceApplies any appearance associated with the dataVal data value. Base implementation does nothing. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodAreTouchMetricsEnabledReturns whether Touch mode is currently enabled on this control. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodCanEditTypeOverridden. Returns a value indicating whether this editor can edit values of the specified type.  
Public MethodCanRenderTypeOverridden. Returns a value indicating whether this editor can render values of the specified type.  
Public MethodCloneOverloaded. Creates a copy of the embeddable editor with the specified default owner. (Inherited from Infragistics.Win.EditorWithText)
Public MethodCloseUpCalled to have the dropdown close up. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodComparesByValueReturns whether the owner should compare items based on their underlying value rather than their display text. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodCreateAccessibilityInstanceUsed by an editor owner to create an accessible object for a specific object managed by an editor. (Inherited from Infragistics.Win.EditorWithText)
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodCreateUIAutomationProviderCreates the UI automation provider. (Inherited from Infragistics.Win.EditorWithText)
Public MethodDataValueToTextOverloaded. Overridden. Converts the specified value to a string.  
Public MethodDispose (Inherited from Infragistics.Shared.DisposableObject)
Public MethodDropDownCalled to drop down the dropdown. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodEnterEditModeOverloaded. Called to place the editor in edit mode. (Inherited from Infragistics.Win.EditorWithText)
Public MethodExitEditModeCalled to have the editor exit edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodFocusSets input focus to the editor. (Inherited from Infragistics.Win.EditorWithText)
Public Methodstatic (Shared in Visual Basic)FormatOverloaded. Formats the specified TimeSpan using the default unit of time display strings.  
Public MethodGetDropDownStateReturns information about whether the dropdown is dropped down. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodGetEditStatusReturns information about whether the object is in edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodGetEmbeddableElementOverloaded. Called from inside the UIElement.PositionChildElements method of the parent element to create and position the embedded element or elements. (Inherited from Infragistics.Win.EditorWithText)
Public MethodGetEmbeddableElementTypeReturns the type of the EmbeddableUIElementBase derived class that this editor uses as it's embeddable element. (Inherited from Infragistics.Win.EditorWithText)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetMinimumTouchFriendlyHeightReturns the minimum height needed to display in touch-friendly mode. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public MethodGetSizeOverloaded. Used to determine the size preferred/required by the editor. (Inherited from Infragistics.Win.EditorWithText)
Public MethodGetSpellCheckTargetGets the current spell check target (Inherited from Infragistics.Win.EditorWithText)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodIsInputKeyReturns whether the key is used by the editor. (Inherited from Infragistics.Win.EditorWithText)
Public MethodIsValidValueReturns true if the edited value is valid (read-only). If the value is invalid, the 'errorMessage' out parameter can contain an error message. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodNotifyPropChangeOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Public MethodOnKeyUpListens to the embeddableTextBox keyUp messages (Inherited from Infragistics.Win.EditorWithText)
Public MethodOnTouchMetricsChangedCalled when the TouchProvider's state or registration has changed (e.g. when its Visble or Enabled property has changed). (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public Methodstatic (Shared in Visual Basic)ParseOverloaded. Parses the specified string into a TimeSpan, using the default unit of time display strings.  
Public MethodResetButtonsLeftUsed to reset the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.ButtonsLeft collection (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public MethodResetButtonsRightUsed to reset the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.ButtonsRight collection (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public MethodSelectAllSelects all text in the editor. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodShouldSerializeTag (Inherited from Infragistics.Shared.SubObjectBase)
Public Methodstatic (Shared in Visual Basic)ValidateValidates the specified text and returns a value specifying whether it is valid.  
Public MethodValueToDataValueOverloaded. Converts val to an object of type returned by owner's GetDataType method. If it can not convert, it returns null. It makes use of any format provided and format string off the owner. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public MethodVerifyNotDisposed (Inherited from Infragistics.Shared.DisposableObject)
Protected Methods
 NameDescription
Protected MethodAdjustSizeForOwnerBordersAdjusts the specified Size to account for the owner-specified borders (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodAdjustSizeForOwnerPaddingAdjusts (increases) the specified size for the owner padding. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodDeserializeTagOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodDoCloseUpCloses the dropdown. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodDoDropDownDrops down the dropdown. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodGetAutoConvertedDestinationValueOverridden. Automatic data conversions specific to this editor.  
Protected MethodGetDisplayValueProvides editor-specific display value. (Inherited from Infragistics.Win.EditorWithText)
Protected MethodGetEditorValueProvides editor-specific editor value. (Inherited from Infragistics.Win.EditorWithText)
Protected MethodGetInkProviderGets the InkProvider registered for the owner's container. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodGetTextSizeOfValueReturns the size required to render the editor's value for the specified owner and ownerContext. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodHasAnySpinButtonsReturns true if the editor displays any spin buttons. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodHookOwnersKeyEventsStart listening to the owner's key events (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodInitializeFromInitializes the state of this object from a source object of the same type (Inherited from Infragistics.Win.EditorWithText)
Protected MethodInitializeTag (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodIsDestinationValueValidOverridden. Checks validity of converted values.  
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnAfterCloseUpCalled after the dropdown has been closed up. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodOnAfterDropDownCalled after the dropdown has been dropped down. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodOnAfterEditorButtonCheckStateChangedUsed to invoke the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.AfterEditorButtonCheckStateChanged event (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodOnAfterEditorButtonCloseUpUsed to invoke the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.AfterEditorButtonCloseUp event (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodOnAfterEnterEditModeOverridden. Called after edit mode has been entered.  
Protected MethodOnAfterExitEditModeCalled after edit mode has been exited. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodOnBeforeDropDownCalled before the dropdown has been dropped down. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodOnBeforeEditorButtonCheckStateChangedUsed to invoke the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.BeforeEditorButtonCheckStateChanged event (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodOnBeforeEditorButtonDropDownUsed to invoke the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.BeforeEditorButtonDropDown event (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodOnBeforeEnterEditModeCalled before edit mode has been entered. (Inherited from Infragistics.Win.EditorWithText)
Protected MethodOnBeforeExitEditModeCalled before edit mode has been exited (Inherited from Infragistics.Win.EditorWithText)
Protected MethodOnDisposeCalled when the EditorWithText class is disposed (Inherited from Infragistics.Win.EditorWithText)
Protected MethodOnEditorButtonClickUsed to invoke the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.EditorButtonClick event (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodOnEditorSpinButtonClickUsed to invoke the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.EditorSpinButtonClick event (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodOnInitializeEditorButtonCheckStateUsed to invoke the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.InitializeEditorButtonCheckState event (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodOnObjectPropChanged (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodOnOwnerKeyDownOccurs when the owner gets a key down while in edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodOnOwnerKeyPressOccurs when the owner gets a key press while in edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodOnOwnerKeyUpOccurs when the owner gets a key up while in edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Protected MethodOnSubObjectPropChangedOverridden. Invoked when a property on a subobject has changed.  
Protected MethodResetTag (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodSerializeTagOverloaded.  (Inherited from Infragistics.Shared.SubObjectBase)
Protected MethodSetAutoConvertedEditorValueInternalInvoked from the EditorWithText.SetEditorValueInternal if the editor must handle the automatic conversion from the editor value to the display text. (Inherited from Infragistics.Win.EditorWithText)
Protected MethodSetTextBoxTextUsed to initialize the text of the associated textbox. (Inherited from Infragistics.Win.EditorWithText)
Protected MethodShouldSerializeButtonsLeftIndicates if the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.ButtonsLeft property should be serialized (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodShouldSerializeButtonsRightIndicates if the Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase.ButtonsRight property should be serialized (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Protected MethodUnhookOwnersKeyEventsUnhook from the owner's key events (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public Events
 NameDescription
Public EventAfterCloseUpOccurs after closing up the dropdown. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventAfterDropDownOccurs after dropping down the dropdown. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventAfterEditorButtonCheckStateChangedInvoked after the Infragistics.Win.UltraWinEditors.StateEditorButton.CheckState has changed. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public EventAfterEditorButtonCloseUpInvoked when a dropdown editor button has closed. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public EventAfterEnterEditModeOccurs after entering edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventAfterExitEditModeOccurs after exiting edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventBeforeDropDownOccurs before dropping down the dropdown. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventBeforeEditorButtonCheckStateChangedInvoked before the Infragistics.Win.UltraWinEditors.StateEditorButton.CheckState has changed. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public EventBeforeEditorButtonDropDownInvoked before a dropdown editor button has been displayed. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public EventBeforeEnterEditModeOccurs before entering edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventBeforeExitEditModeOccurs before exiting edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventEditorButtonAddedInvoked when an editor button is added to the collection (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public EventEditorButtonClickInvoked when an editor button is clicked (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public EventEditorSpinButtonClickInvoked when an spin editor button is clicked (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public EventInitializeEditorButtonCheckStateInvoked when the checkstate of an editor button should be initialized. (Inherited from Infragistics.Win.UltraWinEditors.EmbeddableEditorButtonBase)
Public EventKeyDownOccurs on a key down while the editor is in edit mode and the editor has focus. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventKeyPressOccurs on a key press while the editor is in edit mode and the editor has focus. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventKeyUpOccurs on a key up while the editor is in edit mode and the editor has focus. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventSelectionChangedOccurs when a new value is selected from the dropdown. (Inherited from Infragistics.Win.EmbeddableEditorBase)
Public EventSubObjectDisposed (Inherited from Infragistics.Shared.SubObjectBase)
Public EventSubObjectPropChanged (Inherited from Infragistics.Shared.SubObjectBase)
Public EventValueChangedOccurs when the value is changed in edit mode. (Inherited from Infragistics.Win.EmbeddableEditorBase)
See Also