devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
33 lines (32 loc) • 1.08 kB
TypeScript
import { RibbonItemId } from '../item-ids';
import { RibbonItemBase, RibbonItemTextOptions, RibbonItemType } from './base';
export interface RibbonSelectBoxItemOptions {
beginGroup?: boolean;
width?: any;
displayExpr?: string;
valueExpr?: string;
value?: any;
valueType?: string;
textOptions?: RibbonItemTextOptions;
showClearButton?: boolean;
placeholder?: string;
acceptCustomValue?: boolean;
_localizeDataSourceItems?: boolean;
onCustomItemCreating?: any;
}
export declare class RibbonSelectBoxItem extends RibbonItemBase {
readonly type = RibbonItemType.SelectBox;
dataSource: any[];
displayExpr?: string;
valueExpr?: string;
width?: any;
value?: any;
valueType?: string;
textOptions: RibbonItemTextOptions;
showClearButton: boolean;
placeholder?: string;
acceptCustomValue?: boolean;
_localizeDataSourceItems?: boolean;
onCustomItemCreating?: any;
constructor(id: RibbonItemId, dataSource: any[] | any, options?: RibbonSelectBoxItemOptions);
}