Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

DragResizeSlotHighlightContainer

$
0
0

Hello there,

I got a little problem Binding MinHeight and Height of DragResizeSlotHighlightContainer to a Property of a GanttTask.

So for the EventContainer everything works fine, I solved it this way:

<StyleTargetType="telerik:EventContainer"BasedOn="{StaticResource EventContainerStyle}">
   <SetterProperty="Background"Value="{Binding OriginalEvent.Background}"/>
   <SetterProperty="MinHeight"Value="{Binding OriginalEvent.Height}"/>
   <SetterProperty="Height"Value="{Binding OriginalEvent.Height}"/>
</Style>

But for DragResizeSlotHighlightContainer it doesn't work getting OriginalEvent.Height to set MinHeight...

<StyleTargetType="telerik:DragResizeSlotHighlightContainer"
   BasedOn="{StaticResource  DragResizeSlotHighlightContainerStyle}">
   <SetterProperty="MinHeight"Value="{Binding OriginalEvent.Height}"/>
</Style>

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>