<telerik:RadScheduleView.ViewDefinitions>
<telerik:DayViewDefinition MinorTickLength="30min" MajorTickLength="1h"/>
</telerik:RadScheduleView.ViewDefinitions>
<telerik:RadScheduleView.RenderTransform>
<TranslateTransform></TranslateTransform>
</telerik:RadScheduleView.RenderTransform>
<telerik:RadScheduleView.DragDropBehavior>
<local:ScheduleViewDragDropBehavior/>
</telerik:RadScheduleView.DragDropBehavior>
</telerik:RadScheduleView>
</Canvas>
canvas.Children.Add(
this.x);
<Window x:Class="RadRichTextBoxTestApp.MainWindow" Title="MainWindow" Height="350" Width="525" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" SizeToContent="WidthAndHeight"> <Window.Resources> <Style TargetType="{x:Type telerik:RadRichTextBox}"> <Style.Setters> <Setter Property="Height" Value="100" /> <Setter Property="Width" Value="300" /> </Style.Setters> </Style> </Window.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <telerik:HtmlDataProvider RichTextBox="{Binding ElementName=box0}" Html="{Binding DocumentWithCapitalizedStyleTags}" /> <telerik:RadRichTextBox Grid.Row="0" x:Name="box0" Margin="10"/> <telerik:HtmlDataProvider RichTextBox="{Binding ElementName=box1}" Html="{Binding DocumentWithLowerCaseStyleTags}" /> <telerik:RadRichTextBox Grid.Row="1" x:Name="box1" Margin="10"/> <telerik:HtmlDataProvider RichTextBox="{Binding ElementName=box2}" Html="{Binding DocumentWithMsoHyperlinkStyles}" /> <telerik:RadRichTextBox Grid.Row="2" x:Name="box2" Margin="10"/> <telerik:HtmlDataProvider RichTextBox="{Binding ElementName=box3}" Html="{Binding DocumentWithInlineHyperlinkStyles}" /> <telerik:RadRichTextBox Grid.Row="3" x:Name="box3" Margin="10"/> </Grid></Window>using System.Windows;namespace RadRichTextBoxTestApp{ /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { DataContext = new MainWindowViewModel(); InitializeComponent(); } } public class MainWindowViewModel { public string DocumentWithCapitalizedStyleTags { get { return "<html><head><STYLE></STYLE></head><body>HELLO WORLD!</body></html>"; } } public string DocumentWithLowerCaseStyleTags { get { return DocumentWithCapitalizedStyleTags.Replace("<STYLE", "<style").Replace("</STYLE","</style"); } } public string DocumentWithMsoHyperlinkStyles { get { return @"<html><head><style>a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;}</style></head><body>HELLO WORLD! <a href=""http://telerik.com"">Telerik</a></body></html>"; } } public string DocumentWithInlineHyperlinkStyles { get { return DocumentWithMsoHyperlinkStyles.Replace(", span.MsoHyperlink", ""); } } }}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FK_classification", DbType="BigInt", UpdateCheck=UpdateCheck.Never)] public System.Nullable<long> FK_classification { get { return this._FK_classification; } set { if ((this._FK_classification != value)) { if (this._ST_classification.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnFK_classificationChanging(value); this.SendPropertyChanging(); // <--- Exception is thrown! this._FK_classification = value; this.SendPropertyChanged("FK_classification"); this.OnFK_classificationChanged(); } } }<telerik:RadDataForm x:Name="RDF_ST_Addresse" ItemsSource="{Binding Items, ElementName=RG_ST_Partner}" AutoGenerateFields="False" EditEnding="RDF_ST_Addresse_EditEnding"EditEnded="RDF_ST_Addresse_EditEnded"DeletingItem="RDF_ST_Addresse_DeletingItem"ValidatingItem="RDF_ST_Addresse_ValidatingItem"AddingNewItem="RDF_ST_Addresse_AddingNewItem"AddedNewItem="RDF_ST_Addresse_AddedNewItem" >...<telerik:DataFormComboBoxField DataMemberBinding="{Binding FK_classification, Mode=TwoWay}" Name="DFCMB_classification"Label="Klassifikation" IsReadOnly="False"SelectedValuePath="PK_classification"DisplayMemberPath="classification" Initialized="DFCMB_classification_Initialized" />private void DFCMB_classification_Initialized(object sender, EventArgs e) { ((DataFormComboBoxField)sender).ItemsSource = from p in goDCAddach.ST_classifications orderby p.classification select p ; }I have many windows. I want to change in the Mainwindow from a window (window3). Make a label visible in
MainWindow on a button click in window3.
I don't want to create an instance of MainWindow, because that doesn't keep changes in the parent Mainwindow.
How can I do it, kindly?
Thanks in advanced.