You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class MyControl : Control
{
...
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
{
base.OnRenderSizeChanged(sizeInfo);
if (DesignerProperties.GetIsInDesignMode(this))
{
AdornerLayer adornerLayer = AdornerLayer.GetAdornerLayer(this);//Not referenced to an instance(Occurs when a drag operation enters the design panel).
if (adornerLayer != null)
{
//TODO:...
}
}
}
...
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: