|
@@ -96,6 +96,7 @@ export class Control {
|
|
private _downPointerIds: { [id: number]: boolean } = {};
|
|
private _downPointerIds: { [id: number]: boolean } = {};
|
|
protected _isEnabled = true;
|
|
protected _isEnabled = true;
|
|
protected _disabledColor = "#9a9a9a";
|
|
protected _disabledColor = "#9a9a9a";
|
|
|
|
+ protected _disabledColorItem = "#6a6a6a";
|
|
/** @hidden */
|
|
/** @hidden */
|
|
protected _rebuildLayout = false;
|
|
protected _rebuildLayout = false;
|
|
|
|
|
|
@@ -960,6 +961,19 @@ export class Control {
|
|
this._disabledColor = value;
|
|
this._disabledColor = value;
|
|
this._markAsDirty();
|
|
this._markAsDirty();
|
|
}
|
|
}
|
|
|
|
+ /** Gets or sets front color of control if it's disabled*/
|
|
|
|
+ public get disabledColorItem(): string {
|
|
|
|
+ return this._disabledColorItem;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public set disabledColorItem(value: string) {
|
|
|
|
+ if (this._disabledColorItem === value) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ this._disabledColorItem = value;
|
|
|
|
+ this._markAsDirty();
|
|
|
|
+ }
|
|
// Functions
|
|
// Functions
|
|
|
|
|
|
/**
|
|
/**
|