Skip to main content

RangeSelectorBuilder Methods

A RangeSelector control.
Name Description
Background(Action<RangeSelectorBackgroundBuilder>) Specifies the properties for the range selector's background. Mirrors the client-side background object.
Behavior(Action<RangeSelectorBehaviorBuilder>) Specifies the RangeSelector's behavior properties. Mirrors the client-side behavior object.
Chart(Action<RangeSelectorChartBuilder>) Specifies the properties required to display a chart as the range selector's background. Mirrors the client-side chart object.
ContainerBackgroundColor(JS) Specifies the color of the parent page element. Mirrors the client-side containerBackgroundColor option.
ContainerBackgroundColor(String) Specifies the color of the parent page element. Mirrors the client-side containerBackgroundColor option.
DataSource(JS) Specifies a data source for the scale values and for the chart at the background. Mirrors the client-side dataSource option.
DataSource(IEnumerable, String[]) Binds a RangeSelector control to a collection: Array, List, or IEnumerable.
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds a RangeSelector control to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more.
DataSource(String, String[]) Binds a RangeSelector control to read-only data in JSON format.
DataSourceField(JS) Specifies the data source field that provides data for the scale. Mirrors the client-side dataSourceField option.
DataSourceField(String) Specifies the data source field that provides data for the scale. Mirrors the client-side dataSourceField option.
DataSourceOptions(Action<DataSourceOptionsBuilder>) Provides access to methods that mirror client-side data source options.
Disabled(JS) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
Disabled(Boolean) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Export(Action<RangeSelectorExportBuilder>) Configures the exporting and printing features. Mirrors the client-side export object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
Indent(Action<RangeSelectorIndentBuilder>) Range selector's indent properties. Mirrors the client-side indent object.
LoadingIndicator(Action<RangeSelectorLoadingIndicatorBuilder>) Configures the loading indicator. Mirrors the client-side loadingIndicator object.
Margin(Action<RangeSelectorMarginBuilder>) Generates space around the UI component. Mirrors the client-side margin object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnDisposing(RazorBlock) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnDisposing(String) A function that is executed before the UI component is disposed of. Mirrors the client-side onDisposing option.
OnDrawn(RazorBlock) A function that is executed when the UI component's rendering has finished. Mirrors the client-side onDrawn option.
OnDrawn(String) A function that is executed when the UI component's rendering has finished. Mirrors the client-side onDrawn option.
OnExported(RazorBlock) A function that is executed after the UI component is exported. Mirrors the client-side onExported option.
OnExported(String) A function that is executed after the UI component is exported. Mirrors the client-side onExported option.
OnExporting(RazorBlock) A function that is executed before the UI component is exported. Mirrors the client-side onExporting option.
OnExporting(String) A function that is executed before the UI component is exported. Mirrors the client-side onExporting option.
OnFileSaving(RazorBlock) A function that is executed before a file with exported UI component is saved to the user's local storage. Mirrors the client-side onFileSaving option.
OnFileSaving(String) A function that is executed before a file with exported UI component is saved to the user's local storage. Mirrors the client-side onFileSaving option.
OnIncidentOccurred(RazorBlock) A function that is executed when an error or warning occurs. Mirrors the client-side onIncidentOccurred option.
OnIncidentOccurred(String) A function that is executed when an error or warning occurs. Mirrors the client-side onIncidentOccurred option.
OnInitialized(RazorBlock) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnInitialized(String) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
OnOptionChanged(RazorBlock) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) A function that is executed after a UI component property is changed. Mirrors the client-side onOptionChanged option.
OnValueChanged(RazorBlock) A function that is executed after the UI component's value is changed. Mirrors the client-side onValueChanged option.
OnValueChanged(String) A function that is executed after the UI component's value is changed. Mirrors the client-side onValueChanged option.
Option(String, Object) Specifies an option by its name.
PathModified(JS) Notifies the UI component that it is embedded into an HTML page that uses a tag modifying the path. Mirrors the client-side pathModified option.
PathModified(Boolean) Notifies the UI component that it is embedded into an HTML page that uses a tag modifying the path. Mirrors the client-side pathModified option.
RedrawOnResize(JS) Specifies whether to redraw the UI component when the size of the container changes or a mobile device rotates. Mirrors the client-side redrawOnResize option.
RedrawOnResize(Boolean) Specifies whether to redraw the UI component when the size of the container changes or a mobile device rotates. Mirrors the client-side redrawOnResize option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Inherited from WidgetBuilder.
RtlEnabled(JS) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
Scale(Action<RangeSelectorScaleBuilder>) Specifies properties of the range selector's scale. Mirrors the client-side scale object.
SelectedRangeColor(JS) Specifies the color of the selected range. Mirrors the client-side selectedRangeColor option.
SelectedRangeColor(String) Specifies the color of the selected range. Mirrors the client-side selectedRangeColor option.
SelectedRangeUpdateMode(VisualRangeUpdateMode) Specifies how the selected range should behave when data is updated. Applies only when the RangeSelector is bound to a data source. Mirrors the client-side selectedRangeUpdateMode option.
Shutter(Action<RangeSelectorShutterBuilder>) Specifies range selector shutter properties. Mirrors the client-side shutter object.
Size(Action<RangeSelectorSizeBuilder>) Mirrors the client-side size object.
SliderHandle(Action<RangeSelectorSliderHandleBuilder>) Specifies the appearance of the range selector's slider handles. Mirrors the client-side sliderHandle object.
SliderMarker(Action<RangeSelectorSliderMarkerBuilder>) Defines the properties of the range selector slider markers. Mirrors the client-side sliderMarker object.
Theme(VizTheme) Sets the name of the theme the UI component uses. Mirrors the client-side theme option.
Title(JS) Configures the UI component's title. Mirrors the client-side title option.
Title(Action<RangeSelectorTitleBuilder>) Configures the UI component's title. Mirrors the client-side title object.
Title(String) Configures the UI component's title. Mirrors the client-side title option.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
Value(JS) The selected range (initial or current). Equals the entire scale when not set. Mirrors the client-side value option.
Value(Action<VisualRangeBuilder>) The selected range (initial or current). Equals the entire scale when not set. Mirrors the client-side value object.
Value(IEnumerable<DateTime>) The selected range (initial or current). Equals the entire scale when not set. Mirrors the client-side value option.
Value(IEnumerable<Double>) The selected range (initial or current). Equals the entire scale when not set. Mirrors the client-side value option.
Value(IEnumerable<String>) The selected range (initial or current). Equals the entire scale when not set. Mirrors the client-side value option.
See Also