How to reproduce:
private void RadForm1_Load(object sender, EventArgs e)
{
this.radWebCam1.TakeSnapshot();
}
Workaround:
public class CustomWebCam : RadWebCam
{
public override void TakeSnapshot()
{
FieldInfo fi = typeof(RadWebCam).GetField("player", BindingFlags.NonPublic | BindingFlags.Instance);
object value = fi.GetValue(this);
if (value == null)
{
return;
}
PropertyInfo propertyInfo = value.GetType().GetProperty("EvrVideoDisplay", BindingFlags.NonPublic | BindingFlags.Instance);
value = propertyInfo.GetValue(value, null);
if (value == null)
{
return;
}
base.TakeSnapshot();
}
}
Paste some text inside RadRichTextEditor. If the text has more rows than the currently visible area you will see that the control does not scroll down to the caret position.
Workaround:
private void RadRichTextEditor1_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
if (e.Command is PasteCommand)
{
Application.DoEvents();
bool cursorAtDocEnd = this.radRichTextEditor1.Document.CaretPosition.IsPositionAtDocumentEnd;
if (cursorAtDocEnd)
{
MoveCaretCommand command = new MoveCaretCommand(this.radRichTextEditor1.RichTextBoxElement);
command.Execute(MoveCaretDirections.Down);
}
}
}
Currently, RadFileDialogs uses a RadAutoCompleteBox for specifying the folder/file name. It would be nice to have a drop down with recent files:
Populate a RadGridView with data, move the form to a monitor with greater than 100% DPI scaling. Save the layout and then load it again. You will notice that the columns' width is increased each time.
Workaround:
Sub New()Default:
Desired:
Workaround: handle the ExplorerControl.MainNavigationTreeView.NodeFormatting event and replace the node's text with the FileBrowserTreeNode.Label:
Sub New()Here is a part of the highlighted document:
public RadForm1()
{
RadMapElement.VisualElementFactory = new MyMapVisualElementFactory();
InitializeComponent();
}
public class MyMapVisualElementFactory : MapVisualElementFactory
Please refer to the attached sample project and follow the steps illustrated in the provided gif file.
Workaround:
public RadForm1()
{
InitializeComponent();
this.radPageView1.SelectedPageChanged += radPageView1_SelectedPageChanged;
}
private void radPageView1_SelectedPageChanged(object sender, EventArgs e)
{
if (this.radPageView1.SelectedPage != this.radPageViewPage1)
{
SelectionMiniToolBar selectionMiniToolBar = this.radRichTextEditor1.RichTextBoxElement.SelectionMiniToolBar as SelectionMiniToolBar;
if (selectionMiniToolBar != null)
{
selectionMiniToolBar.Hide();
}
}
}
hi...
A Callout Control is in your roadmap for winforms please ?
thx in advance...
regards,
Apply the Office2010Silver theme to your application since it has a good border indication for the focus in RadSpinEditor.
Please run the attached project and click in the RadSpinEditor that is not in the RadPopupContainer. You will notice that when you move the mouse away that the border is highlighted in yellow showing that the control has complete focus. Now, click in the RadSpinEditor that is in the RadPopupContainer and move your mouse away. You will notice that the border is not highlighted in yellow indicating that it does not have focus. You can also see that it does not fire the GotFocus event. If you click closer to the border out of the "TextBox" area, the control border will stay yellow showing complete focus and fire off the GotFocus event. However, in this case, the caret is not displayed.
Workaround: handle the GotFocus/LostFocus events for the SpinElement.TextBoxItem and apply the desired border for indicating the focus.