Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all 18858 articles
Browse latest View live

Missing TouchUpEvent on RepeatButton

$
0
0

I have a WPF application such that there is a modal Window with a RepeatButton. When a limit is reached, a Dialog Window is displayed. Using the keyboard, mouse, or Stylus this works as expected. However when touch is used to change the value via the RepeatButton that results in the Dialog Window, after closing the Dialog Window, any touch of the application causes a Click event on the RepeatButton. In delving into the problem, I can see that a TouchUp event never occurs, likely interrupted by the Dialog Window.  In the Dialog Window I handle TouchUp and TouchDown, but even if I do not set e.Handled = true, the error occurs.

Note:  It does not matter if touch is used for the Dialog Window.  The problem occurs when touch is used on the RepeatButton. 

Does anyone have any ideas on how to solve this issue?





Wpf controls frozen forever, but all events are received and processed

$
0
0
At my work, we have this application which has the combination of both WinForms and WPF controls. Now the issue is with WPF controls. The issue happens when our WPF control, say, a TreeView and a ListView receives data from the other part of the application in the background. At this point of time, sporadically, the all WPF controls in the application stops responding forever. It appears to be frozen. But all the WinForms controls continues to work without any Hiccups.

When the WPF controls are frozen, we tried to attach VS Debugger to it, found that if we click on any TreeViewItem or any other WPF control the event is received and execution proceeds as usual. Even the view model will have the updated values, but it is just that the UI is not updated, which making it appear frozen.



What could possibly stop UI from getting updated, and stop dispatcher from processing the operations?

Please help, this issue is not letting me sleep since past 15 days.

What I have tried:

I have already tried commenting out the Dispatcher.BeginInvoke(...) codes in our application, with the suspicion that this Dispatcher could be messing up things here. But that wasn't the case, as the issue was reproducible even after commenting it out.

We also checked for the Binding errors, using snoop and WPF traces but no such errors found.

I tried tracing by subsribing to OperationPosted, OperationStarted, OperationCompleted and OperationAborted events of Dispatcher Hook, and found when the issue is reprocible there will be a series of OperationPosted events fired, which will be followed by OperationAborted, which means that any thing posted to message queue is not being processed (only when the issue is reproducible, otherwise it functions properly).

Folder Navigation

$
0
0

Hi,

I am implementing Folder Navigation within an application to navigate from directory to another similar to Windows explorer using WPF (C#).

Refer the screenshot attached.

Any sample applications will be helpful

Regards,

Vijay Zalaki


How to SelectAll in TextBox when TextBox gets focus by mouse click?

$
0
0

If you click into the adress bar of the internet explorer, the adress will get selected. Only the second click sets the caret into the mouse position.

 

I'd like to have this in my TextBox. I tried to override OnGotFocus and call SelectAll(), but this only works if the TextBox gets it focus by keyboard. If the TextBox is clicked by mouse, the text is selected for a split second, then it is deselected again and the caret is set.

 

Thanks,
Sam

How to remove view when error the region does not contain the specified view

$
0
0

 How to remove view

the following code get error "the region does not contain the specified view"

var regionManager = ServiceLocator.Current.GetInstance<IRegionManager>()

foreach(var view in regionManager.Regions["Window1"].Views)
{
   if(view != null)
      regionManager.Regions["Window1"].Remove(view);
}

 

 


Hello

WPF listbox scrollbar crash

$
0
0
Hi guys,

I've run into a very odd issue, and struggling to debug it.
I've developed a WPF user control that is hosted inside a WinForms app.
In this user control, there is a popup Window with 2 listboxes in it.
On my pc and a few other machines, everything works perfectly.
However, running the app on our server over RDP, the whole app crashes when you click on the scrollbar in the listbox.

Using the mouse wheel to scroll works fine, dragging the scrollbar itself works fine - clicking the up or down arrow crashes the application.

It's throwing out a null ref exception.

On my pc, I'm running Windows 7 RC, .Net 3.5 SP1. The server is running Windows Server 2008 Std with .Net 3.5 SP1.
I'm using VS2008 Pro with SP1.

Can anyone give me any ideas on what could be causing this?

Thanks!

See error details below:

Description:
  Stopped working

Problem signature:
  Problem Event Name:	CLR20r3
  Problem Signature 01:	sitelites 3.exe
  Problem Signature 02:	1.0.0.0
  Problem Signature 03:	4a44c6a5
  Problem Signature 04:	PresentationFramework
  Problem Signature 05:	3.0.0.0
  Problem Signature 06:	498d263f
  Problem Signature 07:	2f18
  Problem Signature 08:	36
  Problem Signature 09:	System.ArgumentNullException
  OS Version:	6.0.6002.2.2.0.16.7
  Locale ID:	1033

C# and Json help

$
0
0

Hello,

need assistance on this simple C#/wpf with json, trying to get the results from certain objects which are called Hr1 in a json file onto the C#/wpf application in a list box, not sure what i am doing wrong, hopefully someone can shed light on this?

thanks in advanced:

WPF:

<ListBox x:Name="listBox" HorizontalAlignment="Left" Height="313" Margin="43,45,0,0" VerticalAlignment="Top" Width="298" Grid.Column="1" FontFamily="Times New Roman" Background="White" MouseDoubleClick="listBox_MouseDoubleClick" SelectionMode="Single"  ><ListBox.ItemTemplate><DataTemplate><TextBlock Text="{Binding}" /></DataTemplate></ListBox.ItemTemplate></ListBox>

C#:

 private void TreeViewItem_PreviewMouseDown(object sender, MouseButtonEventArgs e)
        {
                    String JNstring = File.ReadAllText("configure.json");

            Connection c = new Connection();

            c.LBMenu = JsonConvert.DeserializeObject<string>(JNstring);

            listBox.ItemsSource = c.LBMenu;


        }

Json:

{"Customers": [{"C": "Customer Add/Edit/Delete"
	}, {"C": "Create Shipping"
	}, {"C": "Hours"
	}],"Employees": [{"Hr": "Employee"
	}, {"Hr": "Blah blah"
	}, {"Hr": "Hours"
	}],"Sales": [{"S": "Sales Order"
	}, {"S": "Customer"
	}, {"S": "Shipping"
	}],"PO": [{"P": "Purchase Order"
	}, {"P": "Customer"
	}, {"P": "Receiving"
	}]
}


GetFlattenedPathGeometry gives invalid geometry values.

$
0
0

Good day.

I have a Polygon and also a CombinedPathGeometry from which I'm trying to get the flattened path geometry, however if I take this generated path geometry and parse it using PathGeometry.Parse(string Value) I get the following error:

Unexpected token 'M4,4;16L10,9;7,5 8,9;7,5 11,8;0 5,1;8,7 7,1;8,7z' encountered at position '4'.

The polygon I am trying to convert is the following :

<Polygon x:Name="lightning" Fill="Black" Points="4.4,16 10.9,7.5 8.9,7.5 11.8,0 5.1,8.7 7.1,8.7"/>

The code I'm using to do the conversion is :

PathGeometry.Parse(lightning.RenderedGeometry.ToString());

Could you please let me know what I'm doing wrong?

Thanks.


RealTimeStylus

C# BitmapImage BitmapCacheOption issues when saving image

$
0
0

I'm running into a strange problem when loading BitmapImages from a URI, passing them through a CroppedBitmap and encoding / saving to an image in memory via a MemoryStream.

Code below:

System.Windows.Media.Imaging.BitmapImage bi = new System.Windows.Media.Imaging.BitmapImage(); bi.BeginInit(); // The BitmapCacheOption seems to be the source of the problem - // Setting it to OnLoad removes the issue but performance is 3-4x slower bi.CacheOption = System.Windows.Media.Imaging.BitmapCacheOption.None; bi.UriSource = new Uri(inputFile); bi.DecodePixelWidth = (int)imageViewBox[10]; bi.DecodePixelHeight = (int)imageViewBox[11]; bi.EndInit(); System.Windows.Media.Imaging.CroppedBitmap cbi = new System.Windows.Media.Imaging.CroppedBitmap(bi, new System.Windows.Int32Rect( (int)(imageViewBox[2] * imageViewBox[10]), (int)(imageViewBox[3] * imageViewBox[11]), (int)((imageViewBox[4] - imageViewBox[2]) * imageViewBox[10]), (int)((imageViewBox[5] - imageViewBox[3]) * imageViewBox[11]))); newImageSize = new Size(cbi.PixelWidth, cbi.PixelHeight); using (MemoryStream msOut = new MemoryStream()) { System.Windows.Media.Imaging.BmpBitmapEncoder enc = new System.Windows.Media.Imaging.BmpBitmapEncoder(); enc.Frames.Add(System.Windows.Media.Imaging.BitmapFrame.Create(cbi)); // Throws access violation exception intermittently when zoomed on some images enc.Save(msOut);

As commented in the code, the enc.Save line throws an AccessViolation exception intermittently (usually on larger images at 2 x zoom) when the BitmapCacheOption is set to None. Setting it to OnLoad resolves the issue. However, this is a performance critical part of the application, and OnLoad seems to hit performance by 3-400% which is not workable.

Even stranger, sometimes an exception is not thrown, and the image returned has regular vertical fault lines in it, as if it was missing a vertical line of pixels every n rows. Those missing pixels then get moved to the right hand of the image in a "compressed" mini-image!

Can anyone shed light on what might be happening here? I've tried using an OnDownload event handler, but it never seems to fire, and have tried testing for IsDownloading before proceeding with the rest of the method but it always returns false which seems to suggest that fully loading the image is not the issue here.

WPF adorner state and lifetime?

$
0
0

I'm running into some issues with an adorner (WPF).  I've noticed that my custom adorner can sometimes just disappear (I find that there is no adorner in the adorner layer that is linked to my control) and that the adorner layer itself can sometimes be switched out (start a WPF app and then Remote Desktop into that machine and the adorner layer that was in use for my control is no longer the one in use - and my control loses its adorner).

So, I've been contemplating the architecture of adorners and adorner layers and think maybe they were designed to be transient things that the system could destroy at will.  If so, this is not documented anywhere that I can find.  I can't find any info on the lifetime of adorners or adornerlayers that would indicate this but the issues I'm seeing seem to support it.  If adorners can be wiped out at various points, what is the recommended way to ensure they are re-created as needed.  Also, it would seem wise then to write adorners with no state/properties as a new one could be attached to a control at any moment.  I don't even see hints of this in the documentation - which would be odd as MS typically describes lifetime and state management issues if they are relevant.  So, maybe I'm just running into bugs?  Any insight would be appreciated.

Adding dynamic tiles and columns in a grid

$
0
0

I have a grid of 4*4 rows and columns. I need a code for xaml.cs page lets for take example I take a variable where x=2,3,4,5,.... So at runtime when x=2 two tiles will be displayed in the grid, if x=3 three tiles will be displayed in the grid and accordingly if no. of tiles will be greater than 16 then a new column will get added into it.

Can anyone please write a small piece of code for this. Just the logical part..

Thanks!!!

TabControl -- suppress MouseOver state for TabItems when mouse is over TabItem children

$
0
0

Basically, I have a custom template form my TabItems.  I am using the VisualStateManager to highlight each tab when the mouse is over the tab.  Unfortunately the mouse over state also is invoked when the mouse is over the tab content which is undesirable for me. Is there any way to highlight only when the mouse is over the tab in the tab strip and not the tab content area?

<TabControl.Resources><Style TargetType="TabItem"><Setter Property="Template"><Setter.Value><ControlTemplate TargetType="TabItem"><Grid Name="Panel" Height="70" Background="{DynamicResource TabHeaderBackground}"><VisualStateManager.VisualStateGroups><VisualStateGroup x:Name="CommonStates"><VisualStateGroup.Transitions><VisualTransition GeneratedDuration="0" /><VisualTransition To="MouseOver" GeneratedDuration="0:0:0.15" /></VisualStateGroup.Transitions><VisualState x:Name="Normal" ><Storyboard><DoubleAnimation Storyboard.TargetName="MouseoverHighlight" Storyboard.TargetProperty="Opacity" To="0"><DoubleAnimation.EasingFunction><QuadraticEase EasingMode="EaseInOut"/></DoubleAnimation.EasingFunction></DoubleAnimation></Storyboard></VisualState><VisualState x:Name="MouseOver"><Storyboard><DoubleAnimation Storyboard.TargetName="MouseoverHighlight" Storyboard.TargetProperty="Opacity" To="1"><DoubleAnimation.EasingFunction><QuadraticEase EasingMode="EaseInOut"/></DoubleAnimation.EasingFunction></DoubleAnimation></Storyboard></VisualState></VisualStateGroup><VisualStateGroup x:Name="SelectionStates"><VisualState x:Name="Unselected" ><Storyboard><DoubleAnimation Storyboard.TargetName="SelectionHighlightRectangle" Storyboard.TargetProperty="Opacity" To="0"><DoubleAnimation.EasingFunction><QuadraticEase EasingMode="EaseInOut"/></DoubleAnimation.EasingFunction></DoubleAnimation><DoubleAnimation Storyboard.TargetName="SelectionPressedRectangle" Storyboard.TargetProperty="Opacity" To="0"><DoubleAnimation.EasingFunction><QuadraticEase EasingMode="EaseInOut"/></DoubleAnimation.EasingFunction></DoubleAnimation></Storyboard></VisualState><VisualState x:Name="Selected" ><Storyboard><DoubleAnimation Storyboard.TargetName="SelectionHighlightRectangle" Storyboard.TargetProperty="Opacity" To="1"><DoubleAnimation.EasingFunction><QuadraticEase EasingMode="EaseInOut"/></DoubleAnimation.EasingFunction></DoubleAnimation><DoubleAnimation Storyboard.TargetName="SelectionPressedRectangle" Storyboard.TargetProperty="Opacity" To="1"><DoubleAnimation.EasingFunction><QuadraticEase EasingMode="EaseInOut"/></DoubleAnimation.EasingFunction></DoubleAnimation></Storyboard></VisualState></VisualStateGroup></VisualStateManager.VisualStateGroups><Grid.ColumnDefinitions><ColumnDefinition Width="*"/><ColumnDefinition Width="5"/></Grid.ColumnDefinitions><Rectangle Name="SelectionPressedRectangle" Fill="{StaticResource TabHeaderBackgroundPressed}" Opacity="0" Grid.ColumnSpan="2" Grid.Column="0" /><Rectangle Name="MouseoverHighlight" Fill="{StaticResource TabHeaderBackgroundMouseOver}" Opacity="0" Grid.ColumnSpan="2" Grid.Column="0" /><Rectangle Name="SelectionHighlightRectangle" Fill="{StaticResource TabHeaderSelectionBar}" Opacity="0" Grid.Column="1"/><ContentPresenter x:Name="ContentSite"
                                        VerticalAlignment="Center"
                                        HorizontalAlignment="Center"
                                        ContentSource="Header"
                                        Grid.Column="0"
                                        /></Grid></ControlTemplate></Setter.Value></Setter></Style></TabControl.Resources>

How to change the style for built in WPF control in Generic.xaml

$
0
0

Recently I found a need to override the default style for a built in WPF control.

I followed the pattern for styling a custom control that inherits from Control.

Adding a style with a target type of the built in control to the Generic.xaml did not work.

Below is a testing application I put together.

<Window x:Class="StyleTest.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Title="MainWindow"
        Height="350"
        Width="525"><Grid><Label VerticalAlignment="Center"
               HorizontalAlignment="Center"
               Content="This is a test" /></Grid></Window>


Here is the generic.xaml file.

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"><Style TargetType="{x:Type Label}" BasedOn="{StaticResource {x:Type Label}}"><Setter Property="Foreground" Value="HotPink" /></Style></ResourceDictionary>



Datagrid shows no rows (I'm a beginner)

$
0
0

Hello, I'm a beginner. I got as far as setting up an edmx datasource, with the help of EF, and dragging-and-dropping it as a datagrid onto my XAML designer. The set contains a few objects. The grid shows the correct headers BUT NO ROWS.

The following XAML was generated automatically:

<Window x:Class="MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:grootmeesters"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525"><Window.Resources><CollectionViewSource x:Key="TableViewSource" d:DesignSource="{d:DesignInstance {x:Type local:Table}, CreateList=True}"/></Window.Resources><Grid DataContext="{StaticResource TableViewSource}"><DataGrid x:Name="TableDataGrid" AutoGenerateColumns="False" EnableRowVirtualization="True" ItemsSource="{Binding}" Margin="55,59,62,61" RowDetailsVisibilityMode="VisibleWhenSelected"><DataGrid.Columns><DataGridTextColumn x:Name="GrootmeesterColumn" Binding="{Binding grootmeester}" Header="grootmeester" Width="SizeToHeader"/><DataGridTextColumn x:Name="IdColumn" Binding="{Binding Id}" Header="Id" Width="SizeToHeader"/></DataGrid.Columns></DataGrid></Grid></Window>

After spending about twenty hours on this, I am now certain that I can't figure this out. Thanks for helping!


How do I get out of Windows\system32 folder while inside wpf and be on the desktop to run batch file.

$
0
0

Hello

I am new to WPF and would like to know how to run a batch file. I am working on a application that will execute with a button and run a batch file. The batch file is a node js file. The problem is... it opens cmd.exe but it is C:\WINDOWS\system32\cmd.exe and not command prompt like when opening it on the desktop. The message I receive after it opens and runs the batch is "node is  not recognized as a internal or external command, operable program or batch file". 

How can I get around this to run the batch file. The batch does work. I am using Vb.net


Show Image or Text for each row in a gridview column

$
0
0

Hi,

I have a gridview which has two columns. First column shows the name and second column shows either an image or text based on the "ShowImage" data bound variable. Also, I have another variable which tells what text to be shown or what image to be shown. Now, when I use some static text for the second column it shows up the text in the second column, but when I bind the value of text through DataContext it doesn't show anything in the second column. However the image works without any issue

The following line doesn't show anything for that particular row in that column in UI

<TextBlock Text="{Binding valueToShowInUI}"></TextBlock>

The following line shows the "Showing Text Successfully" in UI

<TextBlock Text="{Binding valueToShowInUI}"></TextBlock>

The full xaml is here

<GridView><GridView.Columns><GridViewColumn Width="250" Header="Name"><GridViewColumn.CellTemplate><DataTemplate><StackPanel Orientation="Horizontal"><TextBlock Text="{Binding Name}"></TextBlock></StackPanel></DataTemplate></GridViewColumn.CellTemplate></GridViewColumn><GridViewColumn Header="Old Value" Width="100"><GridViewColumn.CellTemplate><DataTemplate><ContentControl><ContentControl.Style><Style TargetType="{x:Type ContentControl}"><Style.Triggers><DataTrigger Binding="{Binding ShowImage}" Value="False"><Setter Property="ContentTemplate"><Setter.Value><DataTemplate><StackPanel Orientation="Horizontal"><TextBlock Text="{Binding valueToShowInUI}"></TextBlock><!--<TextBlock Text="Showing Text Succesfully"></TextBlock>--></StackPanel></DataTemplate></Setter.Value></Setter></DataTrigger><MultiDataTrigger><MultiDataTrigger.Conditions><Condition Binding="{Binding ShowImage}" Value="True"></Condition><Condition Binding="{Binding valueToShowInUI}" Value="Tick"></Condition></MultiDataTrigger.Conditions><Setter Property="ContentTemplate"><Setter.Value><DataTemplate><Image Source="/Resources/tick.png" Stretch="None"/></DataTemplate></Setter.Value></Setter><Setter Property="VerticalContentAlignment" Value="Center" /></MultiDataTrigger><MultiDataTrigger><MultiDataTrigger.Conditions><Condition Binding="{Binding ShowImage}" Value="True"></Condition><Condition Binding="{Binding valueToShowInUI}" Value="Cross"></Condition></MultiDataTrigger.Conditions><Setter Property="ContentTemplate"><Setter.Value><DataTemplate><Image Source="/Resources/Cross.png" Stretch="None"/></DataTemplate></Setter.Value></Setter><Setter Property="VerticalContentAlignment" Value="Center" /></MultiDataTrigger></Style.Triggers></Style></ContentControl.Style></ContentControl></DataTemplate></GridViewColumn.CellTemplate></GridViewColumn ></GridView.Columns></GridView>

Using converters from DLL - XAML Designer problems

$
0
0

Hello,

we currently have a couple of DLLs containing logic for different projects. One of these includes converters, styles and similar items.
While trying to use these converters from the DLL, the xaml designer underlines where converters are used.

The resource "...Converter" could not be resolved.

In the xaml files, where the converters are used, is a resourcedictionary defined.

<UserControl.Resources><ResourceDictionary><ResourceDictionary.MergedDictionaries><ResourceDictionary Source="/ASSEMBLY;component/Themes/Generic.xaml" /></ResourceDictionary.MergedDictionaries></ResourceDictionary></UserControl.Resources>

Inside of this Generic.xaml - in the DLL/Assembly - are resourcedictionaries defined.

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ASSEMBLY"
                    xmlns:sys="clr-namespace:System;assembly=mscorlib"
                    xmlns:syswin="clr-namespace:System.Windows;assembly=PresentationFramework"
                    xmlns:converters="clr-namespace:ASSEMBLY.Converters"><ResourceDictionary.MergedDictionaries><!-- converters --><ResourceDictionary Source="/ASSEMBLY;component/Converters/Converters.xaml" /><!-- other dicts --></ResourceDictionary.MergedDictionaries></ResourceDictionary>


In the Converters.xaml are the converters defined.

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:converters="clr-namespace:ASSEMBLY.Converters"><BooleanToVisibilityConverter      x:Key="BoolToVisibilityConverter" /><converters:CustomConverterClass   x:Key="CustomConverter" /></ResourceDictionary>

How can I fix this xaml designer bug ?

Some websites suggested using DynamicResource, but that's not going to work, as the designer apparently encounters an exception.

XamlParseException: A 'DynamicResourceExtension' cannot be set on the 'Converter' property of type 'Binding'. A 'DynamicResourceExtension' can only be set on a DependencyProperty of a DependencyObject.

Stacktrace [...]

InnerException: None

Example of converter-usage:

<DataGridTemplateColumn.CellTemplate><DataTemplate><TextBlock ToolTip="{Binding Path=ToolTip, Converter={StaticResource SomeConverter}}"
                   Text="{Binding Path=Text, Converter={StaticResource SomeConverter} }" /></DataTemplate></DataGridTemplateColumn.CellTemplate>
.

Using RenderTargetBitmap to render a Visual with FlowDirection=RightToLeft flips the image horizontally

$
0
0

We have a WPF app (.Net 4.5) that runs on Arabic and Hebrew OSes (i.e. FlowDirection=RightToLeft) and respects all right to left conventions.

Our 'CopyAsBitmap' feature works fine on LeftToRight system, but on RightToLeft systems the bitmap produce by RanderTargetBitmap is completely mirrored - text and all.

We could temporarily swap out RightToLeft and LeftToRight but this is unacceptable from a user experience perspective.

Here is a distillation of the relevant code:

Visual myVisual; RenderTargetBitmap renderedBitmap =
new RenderTargetBitmap(
(int)myVisual.ActualWidth,
(int)myVisual.ActualHeight,
96, 96,
PixelFormats.Pbgra32);

renderedBitmap.Render(myVisual); Clipboard.SetImage(renderedBitmap);

Paste the image into Paint and everything is reversed. This looks like a WPF bug.

Anyone have any suggestions how to fix this?

Wpf Bullet Alignment issue and sizing issue

$
0
0

about wpf richtextbox following issues cant resolved yet............

Only text is aligned to right left center but not bullets....

and when i change fontsize of text the size of bullet can not be affected...

superscript subscript is not working in richtextbox using editing commands also.

Viewing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>