public CustomPropertyPage() { _projectMgr = null; _projectConfigs = null; _project = null; _site = null; _dirty = false; IgnoreDirty = false; _title = string.Empty; _helpKeyword = string.Empty; }
public CustomPropertyPage() { ProjectMgr = null; ProjectConfigs = null; Project = null; _site = null; _dirty = false; IgnoreDirty = false; _title = string.Empty; _helpKeyword = string.Empty; }
public void PropertyChanged(string propertyName, string propertyValue) { // If there is no store, then there is no point in changing the property value. if (null == IPropertyStore) { return; } propertyToBePersisted = new KeyValuePair <string, string>(propertyName, propertyValue); if (null != IPropertyPageSite) { IPropertyPageSite.OnStatusChange((uint)(PROPPAGESTATUS.PROPPAGESTATUS_DIRTY | PROPPAGESTATUS.PROPPAGESTATUS_VALIDATE)); } }
public void Deactivate() { if (_elementHost != null) { _elementHost.Child = null; _elementHost.Dispose(); _elementHost = null; } if (_propertyPageControl != null) { _propertyPageControl.Dispose(); _propertyPageControl = null; } _pageSite = null; }
public void Deactivate() { if (_snapshotDebugConfigManager != null) { _snapshotDebugConfigManager.ConfigurationChanged -= SnapshotDebugConfigManager_ConfigurationChanged; _snapshotDebugConfigManager = null; } if (_elementHost != null) { _elementHost.Child = null; _elementHost.Dispose(); _elementHost = null; } _pageSite = null; }
/// <summary> /// Initializes a property page and provides the property page object with the /// <see cref="IPropertyPageSite"/> interface through which the property page communicates /// with the property frame. /// </summary> /// <param name="site"> /// The <see cref="IPropertyPageSite"/> that manages and provides services to this property /// page within the entire property sheet. /// </param> void IPropertyPage.SetPageSite(IPropertyPageSite site) { // pPageSite can be null (on deactivation) this.pageSite = site; }
/// <summary> /// Initializes a property page and provides the property page object with the /// <see cref="IPropertyPageSite"/> interface through which the property page communicates /// with the property frame. /// </summary> /// <param name="site"> /// The <see cref="IPropertyPageSite"/> that manages and provides services to this property /// page within the entire property sheet. /// </param> void IPropertyPage2.SetPageSite(IPropertyPageSite site) { ((IPropertyPage)this).SetPageSite(site); }
public void SetPageSite(IPropertyPageSite pPageSite) { throw new NotImplementedException(); }
void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite) { _site = pPageSite; }
/// <summary> /// Initializes a property page and provides the property page object with the /// <see cref="IPropertyPageSite"/> interface through which the property page communicates with the /// property frame. /// </summary> /// <param name="pPageSite">The <see cref="IPropertyPageSite"/> that manages and provides services to this /// property page within the entire property sheet.</param> void IPropertyPage.SetPageSite(IPropertyPageSite pPageSite) { this.PropertyPageSite = pPageSite; }
/// <inheritdoc /> void IPropertyPage2.SetPageSite(IPropertyPageSite pPageSite) { ThreadHelper.ThrowIfNotOnUIThread(); ((IPropertyPage)this).SetPageSite(pPageSite); }
public void SetPageSite(IPropertyPageSite site) { PageSite = site; }
public virtual extern void SetPageSite([In, MarshalAs(UnmanagedType.Interface)] IPropertyPageSite pPageSite);
public override void SetPageSite(IPropertyPageSite pPageSite) { if (pPageSite == null) return; base.SetPageSite(pPageSite); }
public void SetPageSite(IPropertyPageSite pageSite) { // pageSite value will be null on clean up _pageSite = pageSite; }
public virtual void SetPageSite(IPropertyPageSite theSite) { this.site = theSite; }
public void SetPageSite(IPropertyPageSite pPageSite) => _propertyPageSite = pPageSite;
public void SetPageSite(IPropertyPageSite pPageSite) { _site = pPageSite; }
public Task SetPageSiteAsync(IPropertyPageSite site) { _propertyPageSite = site; return(TplExtensions.CompletedTask); }
/// <include file='doc\PropertyPages.uex' path='docs/doc[@for="SettingsPage.SetPageSite"]/*' /> public virtual void SetPageSite(IPropertyPageSite site) { _site = site; }
///-------------------------------------------------------------------------------------------- /// <summary> /// IPropertyPage /// Site for our page /// </summary> ///-------------------------------------------------------------------------------------------- public void SetPageSite(IPropertyPageSite pPageSite) { _site = pPageSite; }