void IScrollInfo.SetHorizontalOffset(double offset) { IScrollInfo realImplementation = Content as IScrollInfo; if (realImplementation != null) { realImplementation.SetHorizontalOffset(offset); } else { throw new NotImplementedException(); } }