@@ -1106,6 +1106,8 @@ internal enum KnownProperties : short
11061106 WrapPanel_Children ,
11071107 XmlDataProvider_XmlSerializer ,
11081108 MaxProperty ,
1109+ TextBox_IsReadOnly ,
1110+ RichTextBox_IsReadOnly
11091111 }
11101112
11111113#if ! BAMLDASM
@@ -1862,6 +1864,8 @@ internal static DependencyProperty GetKnownDependencyPropertyFromId(KnownPropert
18621864 return System . Windows . Controls . Primitives . Popup . PlacementProperty ;
18631865 case KnownProperties . Popup_PopupAnimation :
18641866 return System . Windows . Controls . Primitives . Popup . PopupAnimationProperty ;
1867+ case KnownProperties . RichTextBox_IsReadOnly :
1868+ return System . Windows . Controls . RichTextBox . IsReadOnlyProperty ;
18651869 case KnownProperties . RowDefinition_Height :
18661870 return System . Windows . Controls . RowDefinition . HeightProperty ;
18671871 case KnownProperties . RowDefinition_MaxHeight :
@@ -1906,6 +1910,8 @@ internal static DependencyProperty GetKnownDependencyPropertyFromId(KnownPropert
19061910 return System . Windows . Controls . TextBlock . TextWrappingProperty ;
19071911 case KnownProperties . TextBox_Text :
19081912 return System . Windows . Controls . TextBox . TextProperty ;
1913+ case KnownProperties . TextBox_IsReadOnly :
1914+ return System . Windows . Controls . TextBox . IsReadOnlyProperty ;
19091915 case KnownProperties . TextElement_Background :
19101916 return System . Windows . Documents . TextElement . BackgroundProperty ;
19111917 case KnownProperties . TextElement_FontFamily :
@@ -2251,6 +2257,8 @@ internal static KnownElements GetKnownElementFromKnownCommonProperty(KnownProper
22512257 return KnownElements . RepeatButton ;
22522258 case KnownProperties . RichTextBox_Document :
22532259 return KnownElements . RichTextBox ;
2260+ case KnownProperties . RichTextBox_IsReadOnly :
2261+ return KnownElements . RichTextBox ;
22542262 case KnownProperties . Rotation3DAnimationUsingKeyFrames_KeyFrames :
22552263 return KnownElements . Rotation3DAnimationUsingKeyFrames ;
22562264 case KnownProperties . RowDefinition_Height :
@@ -2319,6 +2327,8 @@ internal static KnownElements GetKnownElementFromKnownCommonProperty(KnownProper
23192327 return KnownElements . TextBlock ;
23202328 case KnownProperties . TextBox_Text :
23212329 return KnownElements . TextBox ;
2330+ case KnownProperties . TextBox_IsReadOnly :
2331+ return KnownElements . TextBox ;
23222332 case KnownProperties . TextElement_Background :
23232333 case KnownProperties . TextElement_FontFamily :
23242334 case KnownProperties . TextElement_FontSize :
@@ -3379,6 +3389,8 @@ internal static short GetKnownPropertyAttributeId(KnownElements typeID, string f
33793389 case KnownElements . RichTextBox :
33803390 if ( String . CompareOrdinal ( fieldName , "Document" ) == 0 )
33813391 return ( short ) KnownProperties . RichTextBox_Document ;
3392+ if ( String . CompareOrdinal ( fieldName , "IsReadOnly" ) == 0 )
3393+ return ( short ) KnownProperties . RichTextBox_IsReadOnly ;
33823394 break ;
33833395 case KnownElements . Rotation3DAnimationUsingKeyFrames :
33843396 if ( String . CompareOrdinal ( fieldName , "KeyFrames" ) == 0 )
@@ -3515,6 +3527,8 @@ internal static short GetKnownPropertyAttributeId(KnownElements typeID, string f
35153527 case KnownElements . TextBox :
35163528 if ( String . CompareOrdinal ( fieldName , "Text" ) == 0 )
35173529 return ( short ) KnownProperties . TextBox_Text ;
3530+ if ( String . CompareOrdinal ( fieldName , "IsReadOnly" ) == 0 )
3531+ return ( short ) KnownProperties . TextBox_IsReadOnly ;
35183532 break ;
35193533 case KnownElements . TextElement :
35203534 if ( String . CompareOrdinal ( fieldName , "Background" ) == 0 )
0 commit comments