Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1465
TimeslotPresenter
posted

Hi,

 

I am wanting to know if its possible to retrieve the actual height of the timeslotpresenter, I can do it in code behind using the infragistics utilities but am trying to do it in xaml using a multibinding, however I can't seem to figure out what to reference as ancestor. This is what I tried to do.

 <MultiBinding Converter="{x:Static valueConverters:SizeConverter.Instance}">

 <Binding Path="DateFrom" />

 <Binding Path="DateTo" />

<Binding Path="TimeslotInterval" ElementName="DayView" />

 <Binding Path="ActualHeight" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType={x:Type ig:XamDayView:TimeslotPresenter}}"/>

</MultiBinding>

 

Any help would be appreciated.

 

kind regards,

Anne

Parents Reply Children
No Data