public FindStorePageElement ( DockingLocation location, string uniqueName ) : IDockingElement | ||
location | DockingLocation | Location to be searched. |
uniqueName | string | Unique name of the page to be found. |
return | IDockingElement |
public override IDockingElement FindStorePageElement(DockingLocation location, string uniqueName)
{
if (location == DockingLocation.Docked)
{
KryptonPage page = DockspaceControl.PageForUniqueName(uniqueName);
if ((page != null) && (page is KryptonStorePage))
return this;
}
return null;
}