Hello,
I would like to add a slide button under the tile view like screenshot.
How can I add a button under the tile view?
Thanks for your feedback.
<tk:RadNumericUpDown Width="150" Height="50"
Value="{Binding Exposure}"
IsInteger="True"
CustomUnit="ms"/>
ChartView experiences frequent garbage collection in TrackInfoUpdated after Tooltip of any control is activated.
<Grid Loaded="Grid_Loaded">
<Grid.RowDefinitions>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<StackPanel>
<TextBlock x:Name="DTextBlock"></TextBlock>
<StackPanel Width="200" Height="25" ToolTip="SSSS" Background="Red"></StackPanel>
</StackPanel>
<telerik:RadCartesianChart Grid.Row="1" x:Name="DMainChart">
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:DateTimeCategoricalAxis MajorTickInterval="30" LineStroke="Transparent">
</telerik:DateTimeCategoricalAxis>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis />
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.Series>
<telerik:LineSeries x:Name="DLineSeries" CategoryBinding="Seq" ValueBinding="Open"></telerik:LineSeries>
</telerik:RadCartesianChart.Series>
<telerik:RadCartesianChart.Behaviors>
<telerik:ChartPanAndZoomBehavior ZoomMode="Horizontal" DragMode="Pan"/>
<telerik:ChartTrackBallBehavior ShowIntersectionPoints="False" ShowTrackInfo="False" TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated"/>
</telerik:RadCartesianChart.Behaviors>
</telerik:RadCartesianChart>
</Grid>
private void Grid_Loaded(object sender, RoutedEventArgs e)
{
if (sender is Grid grid)
{
grid.DataContext = this;
ObservableCollection<SeriesKLineModel> ChartKLine = new ObservableCollection<SeriesKLineModel>();
Random random = new Random();
for (int i = 0; i < 5000; i++)
{
SeriesKLineModel mode = new SeriesKLineModel(DateTime.Now.AddDays(i), random.Next(10, 20), 5, -5, 0, Color.FromRgb(33, 141, 252));
mode.Seq = mode.Seq.AddHours((-1) * i);
ChartKLine.Add(mode);
}
this.DLineSeries.ItemsSource = ChartKLine;
this.DTextBlock.SetBinding(TextBlock.TextProperty, new Binding(nameof(TestText)));
}
}
private string _TestText = "";
public event PropertyChangedEventHandler PropertyChanged;
public string TestText
{
get
{
return _TestText;
}
set
{
_TestText = value;
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(TestText)));
}
}
i have a combo box that i need when i select one of it's items, it will open a new sub combo box to choose a sub item
is it feasible?
The Telerik WPF ScheduleView's appointment cells have a problem with intersecting times when assigning schedules within a one-minute timeframe. For example, when I drag and drop to assign a schedule like 12:30 PM - 1:30 PM, and then another schedule from 1:30 PM - 2:30 PM, sometimes it displays two cells in one column (as shown in the right corner), while other times it functions correctly (as shown in the left corner).
I must emphasize that this is a bug in the user interface. Is there a way you can address and fix this issue? Thank you!
The Telerik WPF ScheduleView's appointment cell has a problem with intersecting times when assigning schedules within a one-minute time frame. When I drag and drop to assign a schedule, such as from 12:30pm to 1:30pm, and then another schedule from 1:30pm to 2:30pm, sometimes it displays two cells in one column (as shown in the right corner), while other times it works fine (as shown in the left corner).
I must emphasize that this is a bug in the user interface. Is there a way you can fix this issue? Thank you!
Hi
In the image attached there are two columns of a radgridview, defined as follow:
<t:GridViewDataColumn
Header="{DynamicResource ResourceKey={x:Static r:ResourcesKeys.SelectedColumnHeader }}"
DataMemberBinding="{Binding IsSelected, Mode=TwoWay
, UpdateSourceTrigger=PropertyChanged}">
<t:GridViewDataColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding IsSelected, Mode=TwoWay
, UpdateSourceTrigger=PropertyChanged}" />
</DataTemplate>
</t:GridViewDataColumn.CellTemplate>
</t:GridViewDataColumn>
<t:GridViewCheckBoxColumn
AutoSelectOnEdit="True"
Header="{DynamicResource ResourceKey={x:Static r:ResourcesKeys.SelectedColumnHeader }}"
DataMemberBinding="{Binding IsSelected, Mode=TwoWay
, UpdateSourceTrigger=PropertyChanged}"/>
I have an HTML data provider added in XAML and it is bound to a string.
I have an items control within an items control and this is dynamically generated for each section.
I have followed all documentation online and do not know why my output is not showing style inline. Verified that it works and functions outside of the ItemsControl and just inside a grid. But I need it work below.......
Update 5/2/24 -- the HTLM dataProvider is working, but it is almost like all the settings in htmlExportSettings are being completely ignored.
<ItemsControl ItemsSource="{Binding MySections}">
<ItemsControl.ItemTemplate>
<ItemContainerTemplate>
<Grid>
<ItemsControl ItemsSource="{Binding MySections.MyControls}">
<ItemsControl.ItemTemplate>
<ItemContainerTemplate>
<Grid>
<telerik:HtmlDataProvider RichTextBox="{Binding ElementName=radRichTextBox}" Html="{Binding MyRichText, Mode=TwoWay, NotifyOnValidationError=true, TargetNullValue='', ValidatesOnExceptions=true}" >
<telerik:HtmlDataProvider.FormatProvider>
<telerik:HtmlFormatProvider>
<telerik:HtmlFormatProvider.ExportSettings>
<telerik:HtmlExportSettings DocumentExportLevel="Fragment"
ImageExportMode="UriSource"
ExportStyleMetadata="False"
StyleRepositoryExportMode="DontExportStyles"
StylesExportMode="Inline"
ExportHeadingsAsTags="True"
ExportFontStylesAsTags="True"
ExportBoldAsStrong="true"
ExportItalicAsEm="True"
ExportEmptyDocumentAsEmptyString="True"/>
</telerik:HtmlFormatProvider.ExportSettings>
</telerik:HtmlFormatProvider>
</telerik:HtmlDataProvider.FormatProvider>
</telerik:HtmlDataProvider>
<telerik:RadRichTextBox x:Name="radRichTextBox" IsSelectionMiniToolBarEnabled="False" IsContextMenuEnabled="True" IsSpellCheckingEnabled="True" LayoutMode="Paged"/>
</Grid>
</ItemContainerTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</ItemContainerTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Filename, Mode=OneWay}"
Width="*" />
I want my grid to resize to fill the available space if the user makes the window bigger.
The above does not do anything unless I set the parent grid width to "Auto"
Then it expands the grid to the entire screen, instead of just the Window.
(I find it extremely frustrating that the window auto expands)
What am I missing in order to get what I'm looking for?