Поделиться через


CustomPropertyDescriptor.IsUIReadOnly - свойство

Возвращает или задает значение свойства IsUIReadOnly домена.Если задано значение true, то свойство нельзя изменить с помощью пользовательского интерфейса при просмотре.

Пространство имен:  Microsoft.VisualStudio.Modeling.DslDefinition
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Синтаксис

'Декларация
<DomainObjectIdAttribute("6d9d8bb9-3dfd-4319-80da-66807b02ee8b")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/IsUIReadOnly.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/IsUIReadOnly.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/IsUIReadOnly.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property IsUIReadOnly As Boolean
[DomainObjectIdAttribute("6d9d8bb9-3dfd-4319-80da-66807b02ee8b")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/IsUIReadOnly.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/IsUIReadOnly.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/IsUIReadOnly.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public bool IsUIReadOnly { get; set; }

Значение свойства

Тип: System.Boolean

Безопасность платформы .NET Framework

См. также

Ссылки

CustomPropertyDescriptor Класс

Microsoft.VisualStudio.Modeling.DslDefinition - пространство имен