RibbonComboBox.IsReadOnly Property
Gets or sets a value that indicates whether selection-only mode is enabled, in which the contents of the combo box are selectable but not editable.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property IsReadOnly As Boolean
public bool IsReadOnly { get; set; }
public:
property bool IsReadOnly {
bool get ();
void set (bool value);
}
member IsReadOnly : bool with get, set
function get IsReadOnly () : boolean
function set IsReadOnly (value : boolean)
Property Value
Type: System.Boolean
true if the contents of the combo box are selectable but not editable; false if the contents of the combo box are not selectable and not editable. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.