Ejemplo n.º 1
0
        private SkylineViewContext GetViewContext(bool clone)
        {
            var dataSchema = new SkylineDataSchema(_documentUiContainer, GetDataSchemaLocalizer());

            if (clone)
            {
                dataSchema = dataSchema.Clone();
            }
            return(new DocumentGridViewContext(dataSchema)
            {
                EnablePreview = true
            });
        }