ascx access parent master page

Code Example - ascx access parent master page

                
                        MasterPage mstr = this.Parent.Page.Master as MasterPage;