File tree Expand file tree Collapse file tree
src/Framework/Framework/Controls Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -235,9 +235,9 @@ protected struct RenderState
235235 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
236236 protected static bool TouchProperty ( DotvvmPropertyId property , object ? val , ref RenderState r )
237237 {
238- if ( property == DotvvmControl . IncludeInPageProperty . Id )
238+ if ( property == DotvvmPropertyIdAssignment . PropertyIds . DotvvmControl_IncludeInPage )
239239 r . IncludeInPage = val ;
240- else if ( property == DotvvmControl . DataContextProperty . Id )
240+ else if ( property == DotvvmPropertyIdAssignment . PropertyIds . DotvvmBindableObject_DataContext )
241241 r . DataContext = val as IValueBinding ;
242242 else if ( DotvvmPropertyIdAssignment . IsActive ( property ) )
243243 {
Original file line number Diff line number Diff line change @@ -183,13 +183,13 @@ public bool RenderOnServer(HtmlGenericControl @this)
183183 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
184184 protected bool TouchProperty ( DotvvmPropertyId prop , object ? value , ref RenderState r )
185185 {
186- if ( prop == VisibleProperty . Id )
186+ if ( prop == DotvvmPropertyIdAssignment . PropertyIds . HtmlGenericControl_Visible )
187187 r . Visible = value ;
188- else if ( prop == ClientIDProperty . Id )
188+ else if ( prop == DotvvmPropertyIdAssignment . PropertyIds . DotvvmControl_ClientID )
189189 r . ClientId = value ;
190- else if ( prop == IDProperty . Id && value != null )
190+ else if ( prop == DotvvmPropertyIdAssignment . PropertyIds . DotvvmControl_ID && value != null )
191191 r . HasId = true ;
192- else if ( prop == InnerTextProperty . Id )
192+ else if ( prop == DotvvmPropertyIdAssignment . PropertyIds . HtmlGenericControl_InnerText )
193193 r . InnerText = value ;
194194 else if ( prop == PostBack . UpdateProperty . Id )
195195 r . HasPostbackUpdate = ( bool ) this . EvalPropertyValue ( prop , value ) ! ;
Original file line number Diff line number Diff line change @@ -120,11 +120,11 @@ bool isFormattedType(Type? type) =>
120120 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
121121 private bool TouchProperty ( DotvvmPropertyId prop , object ? value , ref RenderState r )
122122 {
123- if ( prop == TextProperty . Id )
123+ if ( prop == DotvvmPropertyIdAssignment . PropertyIds . Literal_Text )
124124 r . Text = value ;
125- else if ( prop == RenderSpanElementProperty . Id )
125+ else if ( prop == DotvvmPropertyIdAssignment . PropertyIds . Literal_RenderSpanElement )
126126 r . RenderSpanElement = ( bool ) EvalPropertyValue ( RenderSpanElementProperty , value ) ! ;
127- else if ( prop == FormatStringProperty . Id )
127+ else if ( prop == DotvvmPropertyIdAssignment . PropertyIds . Literal_FormatString )
128128 r . HasFormattingStuff = true ;
129129 else if ( base . TouchProperty ( prop , value , ref r . HtmlState ) ) { }
130130 else if ( DotvvmControl . TouchProperty ( prop , value , ref r . BaseState ) ) { }
You can’t perform that action at this time.
0 commit comments