Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) New column for ResourceView? (Read 15898 times)
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #15 - Sep 23rd, 2010 at 8:29am
Print Post  
springy wrote on Sep 22nd, 2010 at 3:27pm:
Is this latest version already available as non-trial version?
It looks like I have several different 2.2.0 versions and the download center nowhere shows release dates.

I have sent you a private message with the most recent licensed build of the control.

Regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: New column for ResourceView?
Reply #16 - Jul 5th, 2011 at 12:36pm
Print Post  
Is the default ControlTemplate for ResourceHeader (as in the sample) mentioned (and updated) somewhere in the documentation?
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #17 - Jul 5th, 2011 at 12:52pm
Print Post  
I don't think the ResourceHeader template is included in the documentation. We can update the documentation or I can post the template here if you are interested.

Regards,
Meppy
  
Back to top
 
IP Logged
 
springy
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 76
Joined: Jan 25th, 2010
Re: New column for ResourceView?
Reply #18 - Jul 5th, 2011 at 1:12pm
Print Post  
I meanwhile found it in the already downloaded 2.2a version (link does not work anymore) of the reply from last august.

But others for sure are interrested in having it -- or is there are quick way for extracting the current template?
  

/\/\arkus.
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: New column for ResourceView?
Reply #19 - Jul 6th, 2011 at 5:48am
Print Post  
Here is the default ResourceHeader template:

Code
Select All
<Style TargetType="{x:Type local:ResourceHeader}">
	<Setter Property="Template">
		<Setter.Value>
			<ControlTemplate TargetType="{x:Type local:ResourceHeader}">
			<Border DataContext="{Binding Path=., RelativeSource={RelativeSource TemplatedParent}}"
				Background="{Binding Settings.HeaderStyle.Background}"
				BorderBrush="{Binding Settings.HeaderStyle.BorderBrush}"
				BorderThickness="{Binding Settings.HeaderStyle.BorderThickness}">
				<Grid>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="Auto" />
						<ColumnDefinition />
					</Grid.ColumnDefinitions>
					<local:ExpanderControl
						Name="expander" IsExpanded="{Binding IsExpanded, Mode=TwoWay}"
						Width="11" Height="11" Margin="2" VerticalAlignment="Top"
						BorderBrush="{Binding Settings.HeaderStyle.LineBrush}"
						Background="{Binding Settings.CalendarStyle.Background}"
						BorderThickness="1"
						Foreground="{Binding Settings.HeaderStyle.LineBrush}"
						Visibility="{Binding Settings.ExpandableRows, Converter={StaticResource visibleConverter}, ConverterParameter=True}"/>
					<TextBlock Grid.Column="1"
						Text="{Binding Converter={StaticResource resourceNameConverter}}"
						FontFamily="{Binding Settings.HeaderStyle.FontFamily}"
						FontSize="{Binding Settings.HeaderStyle.FontSize}"
						FontStretch="{Binding Settings.HeaderStyle.FontStretch}"
						FontStyle="{Binding Settings.HeaderStyle.FontStyle}"
						FontWeight="{Binding Settings.HeaderStyle.FontWeight}"
						Foreground="{Binding Settings.HeaderStyle.Foreground}"
						TextAlignment="{Binding Settings.HeaderStyle.TextAlignment}"
						HorizontalAlignment="{Binding Settings.HeaderStyle.HorizontalAlignment}"
						VerticalAlignment="{Binding Settings.HeaderStyle.VerticalAlignment}"
						Margin="{Binding Settings.HeaderStyle.ContentMargin}"
						TextWrapping="Wrap" />
					</Grid>
				</Border>
			</ControlTemplate>
		</Setter.Value>
	</Setter>
</Style> 


Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint