/// <summary> /// Attach the Separator control to the dialog object /// </summary> /// <param name="dialog">Target dialog</param> internal override void Attach(IFileDialogCustomize dialog) { Debug.Assert(dialog != null, "CommonFileDialogSeparator.Attach: dialog parameter can not be null"); // Add a separator dialog.AddSeparator(this.Id); // Sync unmanaged properties with managed properties SyncUnmanagedProperties(); }