CK.WordPredictor.DefaultKeyboardContextPredictionFactory.CreatePredictionKey C# (CSharp) Method

CreatePredictionKey() public method

public CreatePredictionKey ( IZone zone, int index ) : IKey
zone IZone
index int
return IKey
        public virtual IKey CreatePredictionKey( IZone zone, int index )
        {
            if( zone == null ) throw new ArgumentNullException( "zone" );

            var key= zone.Keys.Create( index );
            key.CurrentLayout.Current.Visible = false;
            CustomizePredictionKey( key, index );
            return key;
        }