Telerik Forums
UI for WPF Forum
7 answers
339 views

Hi,

I try tu re-use TableShape example and specificaly styles and i have a problem when iadd a Row into Table. each element shift on the left (see capture 1) If i force width, the problem is the same.
The row is not stretch to te container and create a resizing of the container. (i have 10px on the left and the right side, see the capture 2). How to remove this padding or margin ?

The last problem is when i add or delete a row, the event OnItemsCollectionChanged in TableShape class is not trigged, maybe i missed a binding ?

Can you help me please.
Thanks a lot,
Nicolas

nicolasf
Top achievements
Rank 2
 answered on 28 Aug 2017
5 answers
205 views
Hi guys,

I want to implement a RadDiagramToolbox with rectangle shapes binded to database items.
Due to the logic I only have one gallery with those shapes.Therefore the gallery category itself is quite useless for me and I can hide it with the attribute isOpen="False".

Unfortunately below my shapes there is the status bar where I can show the categories again (OpenCloseButton) - Is it possible to hide this bar completely so no user can see the gallery behind the shapes? (see attached screenshot)

Thanks
Dinko | Tech Support Engineer
Telerik team
 answered on 28 Aug 2017
1 answer
110 views

Hi,

I have added a scrollviewer to the vertical axis in the telerik:RadCartesianChart But while closing the view have this exception ( null Ref ChartView.Axis.OnDetached(RadChartBase old chart). Cloud you please help to fix this bug?.

 

Thanks

Martin Ivanov
Telerik team
 answered on 28 Aug 2017
1 answer
78 views

How to change the foreground of the TimeSpanPickerComponent?

I've tried custom Template (via Edit a Copy) and TimeSpanComponentStyle. None of them works.

Need assistance.

Thanks!

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Aug 2017
1 answer
114 views

I have a fairly complex WPF app running on a surface tablet.

Occasionally touch just stops working.

Mouse and keyboard work fine if they are attached or if I connect with a remote program.

I have posted this in the buttons area but really it could be anywhere.

It does matter where in the software it is . it can occur anywhere

Has any one seen this ?

Any help from telerik or community would be appreciated.

 

Yoan
Telerik team
 answered on 28 Aug 2017
1 answer
96 views

Hi,

I have a GridViewDataColumn binded to an object field. All records are of the same type (homogeneous).

In this case data are shown in the GridViewDataColumn but the column cannot be filtered nor sorted.

For example if you have a string data and you set DataType Property and FilterMemberType Property with value typeof(string), you can filter and sort the column. Moreover, if you use the function Search As You Type (CTRL+F) it does not work for this column.

 

Any suggestions?

Thank you

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Aug 2017
1 answer
96 views

Hi all

 

I am new for telerik control. In my company need to do POC for world-continent.In the wpf demo in telerik control view model passed constant string

i.e protected const string ShapeRelativeUriFormat = "/Map;component/Resources/{0}.{1}";

But i did'nt get the details of component/resources.

Please send me the details of there files.


Martin Ivanov
Telerik team
 answered on 25 Aug 2017
2 answers
75 views

Hi,

I want to disable the TabStop mecanism in the RadPanelBar so that the user can't focus on the RadPanelBar or RadPanelBarItems using the "tab" key. I've managed to disable most TabStop mecanism in the RadPanelBar except for one that I really don't understand.

The following project demonstrates my problem. I would like for the tab key to navigate between the 3 textbox without the focus going to the RadPanelBarItem.

https://drive.google.com/open?id=0B9yNrE596_TZcGg5MzZvdUdTSG8

Thank you for your time!

Louis

Louis
Top achievements
Rank 1
 answered on 25 Aug 2017
5 answers
503 views

I currently implemented Excel Export behind code, I'm trying to have it be implemented in the ViewModel Instead. How abouts would I do that?

 

 

 

        private void MenuItem_OnClick(object sender, RoutedEventArgs e)
        {
            try
            {
                string content;

                var extension = "xml";
                content = DrillThroughGridView.ToExcelML(true);

                string path = String.Format("Export.{0}", extension);

                if (File.Exists(path))
                {
                    File.Delete(path);
                }

                using (FileStream fs = File.Create(path))
                {
                    Byte[] info = Encoding.Default.GetBytes(content);
                    fs.Write(info, 0, info.Length);
                }

                Process.Start(path);
            }
            catch (Exception)
            {
                Notification.Error("Process Busy", "Please exit excel instance.");
            }
        }​

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 25 Aug 2017
2 answers
87 views

Hello I need to Maximize RadTileViewItem Programatically  Using the MVVM concept 

But when I run it doesn't happens 

 

 

My XAML is this :

 <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}">
                                <Grid x:Name="grdMain">
                                    <Grid x:Name="grdProcessInfo" Visibility="{Binding GrdProcessInfoVisibility}">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto"/>
                                        </Grid.ColumnDefinitions>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="576.8"/>
                                            <RowDefinition />
                                        </Grid.RowDefinitions>

                                        <Border x:Name="pnlShopOrder" CornerRadius="5" Margin="5,10,5,462.8" BorderBrush="{StaticResource AccentBrush}" BorderThickness="1" Grid.Column="0" Grid.Row="0">
                                            <TextBlock x:Name="txtShopOrder" Grid.Column="1" Grid.Row="0" Style="{StaticResource ProcessInfoMainStyle}" HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding ProcessShopOrder}" TextWrapping="Wrap"></TextBlock>
                                        </Border>
                                        <Border x:Name="pnlInfoMeter" CornerRadius="5" Margin="0,119,0,354.8" BorderBrush="{StaticResource AccentBrush}" BorderThickness="1" Grid.Column="0">
                                            <TextBlock x:Name="txtInfoMeter" Grid.Column="1" Grid.Row="0" Style="{StaticResource ProcessInfoMainStyle}" HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding ProcessInfoMeter}" TextWrapping="Wrap"></TextBlock>
                                        </Border>
                                        <Border x:Name="pnlProcessStepStatus" CornerRadius="5" Margin="0,234,-0.2,228.8" BorderBrush="{StaticResource AccentBrush}" BorderThickness="1" Grid.Column="0" Grid.ColumnSpan="2">
                                            <TextBlock x:Name="txtProcessStepStatus" Grid.Column="1" Grid.Row="0" Style="{StaticResource ProcessInfoMainStyle}" HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding ProcessStepStatus}" TextWrapping="Wrap"></TextBlock>
                                        </Border>

                                        <Border x:Name="pnlProcessStatus" CornerRadius="5" Margin="0,353,-0.2,109.8" BorderBrush="{StaticResource AccentBrush}" BorderThickness="1" Grid.Column="0" Grid.ColumnSpan="2">
                                            <TextBlock x:Name="txtProcessStatus" Grid.Column="1" Grid.Row="0" Style="{StaticResource ProcessInfoMainStyle}" HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding ProcessStaus}" TextWrapping="Wrap"></TextBlock>
                                        </Border>
                                        <Border x:Name="pnlProcessImg" CornerRadius="5" Margin="5,5,-0.2,2.8" Background="White" HorizontalAlignment="Left" Grid.Column="1" Grid.Row="0" Width="0">
                                            <Image x:Name="imgProcess" HorizontalAlignment="Left" VerticalAlignment="Top" Source="{Binding ProcessImageSource}" Height="200" />
                                        </Border>
                                    </Grid>
                                </Grid>
                            </telerik:RadTileViewItem>

 

Then in my mainWindowViewModel I have

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;
   
        }

 

Can someone help me to know If I missing something?

Thanks 
        

 

Rodolfo
Top achievements
Rank 1
 answered on 25 Aug 2017
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?