or
I have a problem changing a property of the RadTileView control (e.g. IsEnabled) using the properties panel. I get always an error message. I did the following steps:
Error message in MainWindow:
Ambiguous match found. at System.RuntimeType.GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) at System.Type.GetProperty(String name) at MS.Internal.ComponentModel.DependencyPropertyKind.get_IsDirect() at System.ComponentModel.DependencyPropertyDescriptor.FromProperty(DependencyProperty dependencyProperty, Type targetType) at Microsoft.Expression.Platform.WPF.WpfDependencyPropertyImplementation.get_Attributes() at Microsoft.Expression.DesignModel.Metadata.DependencyPropertyReferenceStep.get_Attributes() at Microsoft.Expression.DesignModel.Metadata.ClrObjectMetadata.InitializeAlternateContentPropertiesIfNecessary() at Microsoft.Expression.DesignModel.Metadata.ClrObjectMetadata.GetContentProperties() at Microsoft.Expression.DesignModel.Metadata.ClrObjectMetadata.get_ContentProperties() at Microsoft.Expression.DesignModel.Core.ViewNodeManager.InvalidateInternal(List`1 invalidRoots, Boolean forceValidateExpressionCache) at Microsoft.Windows.Design.Platform.ViewProducerBase.ApplyUpdate(Delta delta) at Microsoft.Windows.Design.Platform.ViewProducerBase.IncrementalRebuild(DocumentTreeManager tree, Damage damage) at Microsoft.Windows.Design.Platform.ViewProducerBase.UpdateView(DocumentTreeManager tree, Damage damage) at Microsoft.Windows.Design.DocumentModel.ViewProducer.UpdateView(UpdateDamageArguments args)<telerik:RadPaneGroup cal:RegionManager.RegionName="{x:Static Regions:WellKnownRegionNames.MainRegion}" > <telerik:RadTabControl> </telerik:RadTabControl> </telerik:RadPaneGroup>Hi, there.
I think RadBook is a great component for document viewer.
The problem is that I need to change the Width and Height of the viewer and the contents need to reformat the pages to fit in.
I tested code based on "RadBookIntegration" sample by adding the follwoing code.
private void RadButtonIncrease_Click(object sender, RoutedEventArgs e) { RadDocument doc = this.viewManager.Document; doc.DefaultPageLayoutSettings.Width += 50; doc.DefaultPageLayoutSettings.Height += 50; doc.UpdateLayout(); } private void RadButtonDecrease_Click(object sender, RoutedEventArgs e) { RadDocument doc = this.viewManager.Document; doc.DefaultPageLayoutSettings.Width -= 50; doc.DefaultPageLayoutSettings.Height -= 50; doc.UpdateLayout(); }
I believe UpdateLayout should reformat the contents but the result is not what I expected; page numbers and contents gets duplicated.
Can you please tell me what I'm doing wrong?
Thanks for your help.
| <telerik:RadGridView Grid.ColumnSpan="2" SelectedItem="{Binding Path=WorkingMedicationOrder.DrugDosage_, Mode=TwoWay}" ItemsSource="{Binding DrugDosages}" Grid.Row="5" AutoGenerateColumns="False" ShowGroupPanel="False"> |
WorkingMedicationOrder.DrugDosage_ =
null;
Thanks,
Help?