Readonly
propsStatic
Optional
contextIf set, this.context
will be set at runtime to the current value of the given Context.
Usage:
type MyContext = number
const Ctx = React.createContext<MyContext>(0)
class Foo extends React.Component {
static contextType = Ctx
context!: React.ContextType<typeof Ctx>
render () {
return <>My context's value: {this.context}</>;
}
}
Gets the actual opacity to use for the underline ripple element.
Gets the actual display baseTheme to use for the component.
Gets the actual item background color.
Gets the actual item border width.
Gets the actual data source that is being used by the combo box list. If a collection was provided for the combo box data, an implicit LocalDataSource has been created, and this is available via this property.
Gets the actual display Density to use for the component.
Gets the actual item border color.
Gets the actual item border width.
Gets the actual color to use for the underline element when focused.
Gets the actual opacity to use for the underline element when focused.
Gets the actual opacity to use for the underline ripple element when focused.
Gets the actual color to use for the underline element.
Gets the actual opacity to use for the underline element when hovered.
Gets the width to use for the underline element when hovered.
Gets the actual color to use for the text color.
Gets or sets the visibility of the label.
Gets the actual text to display on the list when no suggested matches are found.
Gets the actual color to use for the "no matches found" label.
Gets the actual color to use for the "no matches found" label.
Gets the actual color to use for the text color.
Gets the actual color to use for the underline element.
Gets the actual opacity to use for the underline element.
Gets the actual color to use for the underline ripple element.
Gets the actual opacity to use for the underline ripple element.
Gets the actual width to use for the underline element.
Gets the actual width to use for the underline element.
Gets the actual name of the field in the data source will be used as the Value of the MultiColumnComboBox.
Whether to allow filtering of the combo
Gets or sets the background color to use for the input group.
Gets or sets the base built in theme to use for the component.
Gets or sets the color to use the border of the input group.
Gets or sets the border width to use for the border of the item group.
Gets or sets the visibility of the drop down button.
Gets or sets the data to which to bind the combo box list. This can be some type of array or list, or it can be an IDataSource instance.
Gets or sets the desired properties for the data source to load. If specified the data source may decide to constrain the properties it fetches to these properties and must make sure that at least those properties are loaded, rather than the default behavior for that data source.
Gets or sets the default column width to use if a column as no local width.
Gets or sets the display Density to use for the buttons and dropdown grid.
Gets or sets the visibility of the drop down button.
Gets or sets the desired properties for the data source to load. If specified the data source may decide to constrain the properties it fetches to these properties and must make sure that at least those properties are loaded, rather than the default behavior for that data source.
Gets or sets the color to use the hovered background of the inputs in the group.
Gets or sets the border width to use for the border of the item group when focused.
Gets or sets the color to use for the underline element.
Gets or sets the color to use for the underline element.
Gets or sets the opacity to use for the underline ripple element when focused.
Gets or sets the color to use for the underline element.
Gets or sets the color to use for the underline element.
Gets or sets the width to use for the underline element when hovered.
Indicates that the dropdown will position itself relative to the window instead of the document.
The text displayed in the label portion of the control.
Gets or sets the color to use for the text.
Gets or sets the font to use for the combobox.
Gets or sets the text to display on the list when no suggested matches are found.
Gets or sets the color to use for the "no matches found" label.
Gets or sets the color to use for the "no matches found" label.
Gets or sets the font to use for the combobox.
Indicates that the dropdown should open as a child of the combobox.
Placeholder text which gives the user a hint about what kind of text is expected.
Gets or sets the visibility of the row separators in the drop down.
Gets or sets the ShowClearButton property to detirmine if the clear button is shown
The text displayed in the edit portion of the control.
Gets or sets the color to use for the text.
Determines the name of the field in the data source will be used as the Text of the MultiColumnComboBox.
Gets or sets the font to use for the combobox.
Gets or sets the color to use for the underline element.
Gets or sets the color to use for the underline element.
Gets or sets the color to use for the underline ripple element.
Gets or sets the opacity to use for the underline ripple element.
Gets or sets the width to use for the underline element.
Gets or sets the width to use for the underline element.
Indicates that the dropdown will place itself into the browser top layer.
Gets or sets the Value of the combo. When the user selects an item from, the value is set based on the specified ValueField field. If not ValueField is specified, then the first field in the data source is used. When the user enters text into the combo, the list is searched based on the TextField field. If a matching string is found, the Value of the combo is the value of the ValueField field in the same row. If the text entered in the combo does not match any item on the list, then the value will return null.
Sets or gets the user provided primary key to assume for the data. Certain functionality of the combo (such as the the current Value) requires a way to uniquely identify items in order to work correctly. If a primary key cannot be inferred from the data source, you may need to provide one here.
Optional
UNSAFE_Called immediately before mounting occurs, and before Component#render
.
Avoid introducing any side-effects or subscriptions in this method.
This method will not stop working in React 17.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use componentDidMount or the constructor instead
Optional
UNSAFE_Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes.
Calling Component#setState
generally does not trigger this method.
This method will not stop working in React 17.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use static getDerivedStateFromProps instead
Optional
UNSAFE_Called immediately before rendering when new props or state is received. Not called for the initial render.
Note: You cannot call Component#setState
here.
This method will not stop working in React 17.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use getSnapshotBeforeUpdate instead
Optional
componentOptional
componentCalled immediately after updating occurs. Not called for the initial render.
The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.
Optional
componentCalled immediately before mounting occurs, and before Component#render
.
Avoid introducing any side-effects or subscriptions in this method.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use componentDidMount or the constructor instead; will stop working in React 17
Optional
componentCalled when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes.
Calling Component#setState
generally does not trigger this method.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use static getDerivedStateFromProps instead; will stop working in React 17
Optional
componentCalled immediately before rendering when new props or state is received. Not called for the initial render.
Note: You cannot call Component#setState
here.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17
Optional
getRuns before React applies the result of render
to the document, and
returns an object to be given to componentDidUpdate. Useful for saving
things such as scroll position before render
causes changes to it.
Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.
If using the new style context, re-declare this in your class to be the
React.ContextType
of yourstatic contextType
. Should be used with type annotation or static contextType.