Hello I will appreciate your help with the Next I need to Maximized RadTileViewItem Programatically, But it is not running
My XAML
<telerik:RadTileViewItem x:Name="rdTileViewMain" Header="Main" RestoredHeight="100" MinimizedHeight="200" RestoredWidth="80" Style="{StaticResource RadTileViewItemStyle}" BorderBrush="{x:Null}" SnapsToDevicePixels="True" Foreground="#FFFDFBFB" TileState="{Binding TileStaterdTileViewMain}">
Then in my MainWindowViewModel:
private TileViewItemState _TileStaterdTileViewMain;
public TileViewItemState TileStaterdTileViewMain
{
get {
return _TileStaterdTileViewMain;
}
set {
_TileStaterdTileViewMain = value;
PropertyChanged(this, new PropertyChangedEventArgs("TileStaterdTileViewMain"));
}
}
private void RaiseUpUcShopOrdersButtonControl(object parameter)
{
TileStaterdTileViewMain = Telerik.Windows.Controls.TileViewItemState.Maximized;
}
Just now installed Telerik for WPF
Opening Visual Studio, creating project Telerik C# WPF Application, selecting "Blank" and "Finish".
Opening MainWindow.xaml, dragging RadRichTextBox from toolbox and dropping into Grid.
But here is Object reference not set in output log. When running - it crashes. Point.
RadButton works correctly.
Result code is here: https://pastebin.com/yVSNDbMH
Visual Studio is 2017
OS is Windows Server 2012
Locale is ru-RU
Telerik Installer is TelerikUIForWpfSetup_2017_3_0814_1.exe
C:\Program Files (x86)\Telerik\UI for WPF R2 2017\Binaries\WPF40\Telerik.Windows.Controls.RichTextBoxUI.dll file version is 2017.2.614.40
If you have different version and haven't problem, please give me installer or just this DLL, I'll try fix or search a bug with .NET Reflector
I have a RadAutoCompleteBox in RadGridView CellEditTemplate
public
class
AutoCompleteCell : RadAutoCompleteBox
{
public
AutoCompleteCell()
{
SelectionMode = AutoCompleteSelectionMode.Single;
Unloaded += unloaded;
Loaded += loaded;
}
private
void
loaded(
object
sender, RoutedEventArgs e)
{
//all has value
string
searchText = SearchText;
object
selectedItem = SelectedItem;
}
private
void
unloaded(
object
sender, RoutedEventArgs e)
{
string
searchText = SearchText;
//has value
object
selectedItem = SelectedItem;
//no value
}
}
SearchText is in dropdown ItemsSource, when I click the cell and enter edit mode, Loaded event fired and both SearchText and SelectedItem has value, but when I just press Esc to exit edit mode and in Unloaded event, SearchText still has value but SelectedItem is null.
Why this happened and how to fix it? Thanks.
<
controls:AutoCompleteCell
SelectedItem
=
"{Binding Value, Mode=TwoWay}"
ItemsSource
=
"{Binding Source, Mode=OneWay}"
SearchText
=
"{Binding Header, Mode=OneWay}"
/>
"Header" is returned from "Value".
Hi, I'm struggling with a small display issue:
I have a bar chart with logarithmic Y scale. Evetyng is ok but if a bar has the value of 1 is not displayed. And this is correct because the logarithm of 1 is 0.
So there is no difference between a bar is not present and a bar with value 1.
I tried to set the minimum value of 0.5 but it's only displayed a gap between the X axis and the bars.
Is there a way to display small Bar when the values is 1? Like setting a small border or a padding?
Hi,
I'm trying to replace the ContentPresenter in a Frame with the TransitionControl as described here:
If I follow this example, no content is displayed.
I also tried using TransitionPresenter, which is better in that the content does show up, but there are no transition animations?
I have successfully used a TransitionControl stand-alone, but I'm hoping to use the navigation features of Frame along with transition animations.
What am I doing wrong?
<
Frame
x:Name
=
"NavFrame"
NavigationUIVisibility
=
"Visible"
Margin
=
"0,50,0,0"
>
<
Frame.Template
>
<
ControlTemplate
TargetType
=
"{x:Type Frame}"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
Padding
=
"{TemplateBinding Padding}"
>
<
teleriktp:TransitionPresenter
CurrentContent
=
"{TemplateBinding Content}"
Duration
=
"0:0:3"
>
<
teleriktp:TransitionPresenter.Transition
>
<
telerikTransitions:WaveTransition
/>
</
teleriktp:TransitionPresenter.Transition
>
</
teleriktp:TransitionPresenter
>
</
Border
>
</
ControlTemplate
>
</
Frame.Template
>
</
Frame
>