HexAdornmentLayerImpl Create(MetadataAndOrder<IAdornmentLayersMetadata> info) {
			var layer = new HexAdornmentLayerImpl(wpfHexView, layerKind, info);
			int index = GetInsertIndex(info);
			adornmentLayers.Insert(index, layer);
			Children.Insert(index, layer.VisualElement);
			return layer;
		}
Exemple #2
0
        HexAdornmentLayerImpl Create(MetadataAndOrder <IAdornmentLayersMetadata> info)
        {
            var layer = new HexAdornmentLayerImpl(wpfHexView, layerKind, info);
            int index = GetInsertIndex(info);

            adornmentLayers.Insert(index, layer);
            Children.Insert(index, layer.VisualElement);
            return(layer);
        }