public void AddExtraLayer(UIElement layer, ArtboardExtraLayerOptions options) { this.extraLayers.Add(new Artboard.ExtraLayer() { Layer = layer, Options = options }); this.extraLayersCanvas.Children.Add(layer); this.UpdateChildren(); }
public static bool IsSet(this ArtboardExtraLayerOptions enumVar, ArtboardExtraLayerOptions valueToCheck) { return((enumVar & valueToCheck) == valueToCheck); }